in reply to Help with my regex
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 Section
Seekers of Perl Wisdom