"be consistent" | |
PerlMonks |
RE: Re: Converting RegExs.by BlaisePascal (Monk) |
on Sep 04, 2000 at 09:40 UTC ( [id://30968]=note: print w/replies, xml ) | Need Help?? |
Hmm,
What if the user entered m/foo/x when asked for a regex? Technically, the regex the user wanted was foo, but they entered the whole match command instead: Obviously, m/MI-6/x (they want to match "MI-6", not "m/MI-6/x"). How could that be corrected for?
In Section
Seekers of Perl Wisdom
|
|