more useful options | |
PerlMonks |
Interpolation in character classby Anonymous Monk |
on Oct 02, 2003 at 16:32 UTC ( [id://295966]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Starting with
I would like to contruct a regular expression that matches when the first charater *is* a DLE and the second character is anything but a DLE. I'm having trouble, because I doubt that variables are interpolated in a character class: I'd be interested in any alternatives, as long as the DLE is defined symbolically and not "hard coded". Thanks !
Back to
Seekers of Perl Wisdom
|
|