in reply to Regular Expression Builder
Just a thought: replace all letters by "A" and all digits by "9". Then apply the Regex::PreSuf thing — or just quotemeta(). And in that result, replace "A" with '\w' and "9" with '\d'.
Intermediate steps, as an example: @foo23 -> @AAA99 -> \@AAA99 -> \@\w\w\w\d\d
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Regular Expression Builder
by belg4mit (Prior) on Aug 31, 2002 at 01:39 UTC | |
Re: Re: Regular Expression Builder
by BigLug (Chaplain) on Sep 03, 2002 at 04:37 UTC |
In Section
Seekers of Perl Wisdom