Don't ask to ask, just ask | |
PerlMonks |
Regex logicby orange (Beadle) |
on May 05, 2008 at 08:56 UTC ( [id://684579]=perlquestion: print w/replies, xml ) | Need Help?? |
orange has asked for the wisdom of the Perl Monks concerning the following question:
hello i have a problem with this regex: applied to RXVXCHHHZHDT it is matched to XCHHHZHD within it. and i intend it to not matching such a string. as i want X and then no X's until the first H and then no H's until D. ie, it must match the string RXVXCHBNDT but not RXVXCHHHZHDT can some one tell me what is wrong with my regex regards
Back to
Seekers of Perl Wisdom
|
|