I thought the ^ncq meant do not match.No, [^ncq] is a character class (see perlretut).
Tip #9 from the Basic debugging checklist (YAPE::Regex::Explain)
[^ncq] any character except: 'n', 'c', 'q'
In reply to Re: Help with my regex
by toolic
in thread Help with my regex
by cspctec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |