in reply to Re^2: Composing regex's dynamically
in thread Composing regex's dynamically
Regexes and strings are interchangeable. "Joining" two regexes (by interpolating them into a third) will join their stringified versions.
If you want to "compile" a string to a regex, use qr() on the final string, like I did.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Composing regex's dynamically
by John M. Dlugosz (Monsignor) on Apr 27, 2011 at 15:41 UTC | |
by Corion (Patriarch) on Apr 27, 2011 at 16:05 UTC | |
by John M. Dlugosz (Monsignor) on Apr 28, 2011 at 08:15 UTC | |
by Corion (Patriarch) on Apr 28, 2011 at 08:17 UTC | |
by John M. Dlugosz (Monsignor) on Apr 28, 2011 at 08:29 UTC |