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.

@yuryleb yuryleb force-pushed the ru-grammar-flags branch 3 times, most recently from ea4efcb to c739a1e Compare April 27, 2018 18:45
@yuryleb yuryleb force-pushed the ru-grammar-flags branch from c739a1e to 00b3730 Compare May 25, 2018 18:51
@yuryleb yuryleb force-pushed the ru-grammar-flags branch from 00b3730 to 7fe8924 Compare June 1, 2018 20:46
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