in reply to Re: Matching brackets in Regular Expression
in thread Matching brackets in Regular Expression
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}).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Matching brackets in Regular Expression
by qq (Hermit) on Nov 21, 2003 at 22:54 UTC |