You are using literal spaces to match literal spaces. Adding/removing a single extra space will destroy the match, as will the presence of extra parentheses These are a few of the things that break your regex:
(KONAMI ORIGINAL) END OF THE CENTURY <BASIC> / NO.9 (KONAMI ORIGINAL) END OF THE CENTURY <BASIC>/ NO.9 (KONAMI ORIGINAL) END OF THE CENTURY<BASIC> / NO.9 (KONAMI ORIGINAL)END OF THE CENTURY <BASIC> / NO.9 (KONAMI ORIGINAL (no 9) ) END OF THE CENTURY <BASIC> / NO.9
using \s+ where one or more spaces is likely and \s* where 0 or more are OK is better if humans are involved in the typing!
doc
In reply to Re: Break my regex, please
by doc
in thread Break my regex, please
by patgas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |