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

Make Context()->update check if the pattern has wrong grouping #5

Open
dpvc opened this issue Oct 5, 2014 · 0 comments
Open

Make Context()->update check if the pattern has wrong grouping #5

dpvc opened this issue Oct 5, 2014 · 0 comments

Comments

@dpvc
Copy link
Owner

dpvc commented Oct 5, 2014

Check that the number of parenthesis groups is the correct number (to prevent problems like the one we had with the wiki example for numbers with commas). To do this, do a match with the new pattern and check that the returned array has the right number of elements.

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

No branches or pull requests

1 participant