Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: This looks like someone sneezed and hit the keyboardby davido (Cardinal) |
on Feb 03, 2004 at 07:06 UTC ( [id://326137]=note: print w/replies, xml ) | Need Help?? |
I'm going to re-enter your RE as though it has the /x modifier so that it's easier to comment on what it's doing... here goes:
So you put that all together and you get a regexp that will match a pretty wierd looking string. The following strings should match (and MANY others too): "Hi, I'm Dave\[\e[0m\] [0m" "121#@$14asdf$" "@h~$"
Looks pretty peculiar to me.
Dave
In Section
Seekers of Perl Wisdom
|
|