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

Extra g flag returns the list of all matched strings #8

Merged
merged 2 commits into from Dec 14, 2014

Conversation

dex4er
Copy link
Contributor

@dex4er dex4er commented Dec 13, 2014

>>> "ala ma kota" == rex('/(\w+)/g')
['ala', 'ma', 'kota']

The same in Perl:

perl> "ala ma kota" =~ /(\w+)/g;
("ala", "ma", "kota")

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling e3ad591 on dex4er:flag_g into ceae9cd on cypreess:master.

cypreess added a commit that referenced this pull request Dec 14, 2014
Extra g flag returns the list of all matched strings
@cypreess cypreess merged commit 7dda39b into cypreess:master Dec 14, 2014
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

3 participants