in reply to Internal representation of qr// compiled regular expressions
Go to the p5p archive and do a case-sensitive search for "ref Regexp" (for example) to find quite a few interesting items on this subject.
There have been attempts to change it to Regex, REGEX, or REGEXP.
Also, note that UNIVERSAL::isa(qr/hi/,"SCALAR") returns true so that the regex is actually a blessed reference to a scalar (yes, I peek under the covers all the time).
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Internal representation of qr// compiled regular expressions
by John M. Dlugosz (Monsignor) on Jun 28, 2001 at 01:01 UTC | |
by japhy (Canon) on May 23, 2006 at 00:18 UTC | |
by John M. Dlugosz (Monsignor) on May 24, 2006 at 03:24 UTC | |
by japhy (Canon) on May 24, 2006 at 11:46 UTC | |
by HelenCr (Monk) on Oct 13, 2012 at 07:35 UTC | |
|