in reply to Regex from a string
Note: what you're trying to can be a really bad thing. The reason is because regexes can theoretically execute arbitrary Perl code using the (?{...}) construct. Now, use re 'eval'; has to be in effect, but if that gets put in by a maintenance programmer later, you're in trouble.
Update: Link to apparently pirated material removed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex from a string
by ghenry (Vicar) on Jun 17, 2005 at 14:57 UTC | |
by davidrw (Prior) on Jun 17, 2005 at 15:10 UTC | |
by ghenry (Vicar) on Jun 17, 2005 at 15:17 UTC |