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)'
In reply to Re: Re: Walks like a regex, quacks like a regex...
by Roger
in thread Walks like a regex, quacks like a regex...
by legLess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |