in reply to Re: Re: Regular Expression Question
in thread Regular Expression Question
qr// is its own operator, and will not work with double quotes around it. If your regex variable ($string, in this case) that you will be pre-compiling has slashes in it, then of course it will try to match the slashes. It is assumed that the only thing inside the qr// operator is the regular expression itself. The previous posts before mine didn't contain slashes in their variable, either.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Regular Expression Question
by Anonymous Monk on Apr 04, 2003 at 23:09 UTC |