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

Pattern fixes #30

Open
wants to merge 3 commits into
base: pattern-fixes
Choose a base branch
from

Conversation

markbrockington
Copy link

(For Review Only) I know this is probably a LOT more code than you want, but something similar to this should work to finish some of the pattern tests where groups are created by Rosetta Stone within the groups.

It does pass the test, but it may not be the most elegant way of doing it.

@@ -1862,10 +1992,25 @@

var matches = s.match(new RegExp(translatePattern (pattern)));

if (!matches) return;
if (!matches[1]) return matches[0];
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally didn't mean to check this part in. Sorry.

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.

None yet

1 participant