in reply to Re: Walks like a regex, quacks like a regex...
in thread Walks like a regex, quacks like a regex...
But not in the case:regex1 => qr/foo/
Where regex1 is compiled as a Regexp, and regex2 is compiled as a string. The reference to regex1 yields a Regexp, the reference to regex2 yeilds nothing, so it will not match regex2 which is a valid regular expression.regex2 => '(?-xism:foo)'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Walks like a regex, quacks like a regex...
by shenme (Priest) on Sep 23, 2003 at 05:48 UTC | |
by legLess (Hermit) on Sep 24, 2003 at 03:45 UTC | |
by diotalevi (Canon) on Sep 24, 2003 at 04:26 UTC |