Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
The problem is that this scalar $stub is volatile and it also contains a little bracket... I believe that though he listed that bob(scalar), it should be bob[scalar] as the description lists. In this case it would be interpreted as a character class instead of a string. \Q and \E would backslash these brackets. In it's current form, there's really no conflict unless the string is something like bob(??{print $hi}). Who is Kayser Söze? All code is untested unless I say so. In reply to Re: Re: Matching brackets in Regular Expression
by jweed
|
|