It does work if there's more than one 'JAZZ' in the string, but it doesn't work if there's one at the end of the string. Scratch that one.
The best test case is probably "JAZZxxJAZZJAZZxxJAZJAZZxxJAZZ"
In reply to Re^3: A challenging problem in perl regular expression
by ikegami
in thread A challenging problem in perl regular expression
by yai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |