Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RegExp 'global' option to Russian grammar rules #228

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yuryleb
Copy link
Contributor

@yuryleb yuryleb commented Mar 16, 2018

Issue

Some non-JS string replace with regular expression implementations, such as Swift, always use global search option.

This PR adds this g option explicitly to Russian grammar meta block and updates tests to require g meta flags for all existing and future grammars.

Tasklist

  • Add explicit g option to grammar and tests
  • Add changelog entry
  • Test with osrm-frontend
  • Review

/cc @1ec5

@yuryleb
Copy link
Contributor Author

yuryleb commented Mar 16, 2018

osrm-frontend (with formatToken() fix) also works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant