Grouping parentheses instead of capturing parentheses #443

Merged
rebeka-catalina merged 3 commits from rct/d/NSFW_README_examples into master 2017-11-08 17:45:26 +01:00
Showing only changes of commit fe8d61cc41 - Show all commits

View file

@ -47,7 +47,7 @@ done with a single regex, which matches all of them:
Another use case could be, that you are simply not
interested in postings about christmas.
/christmas([-_ ]?(?:tree|time|eve|pudding))?/
/christmas(?:[-_ ]?(?:tree|time|eve|pudding))?/
ATTENTION: