"be consistent" | |
PerlMonks |
Re: using ? and ?? in regexby merlyn (Sage) |
on Apr 26, 2001 at 17:40 UTC ( [id://75784]=note: print w/replies, xml ) | Need Help?? |
? in a regex doesn't mean "one character". It's a modifier. You want "." instead. So ".." to find any two characters.
Regex syntax is not glob (filename wildcards) syntax. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|