Charles K. Clarkson wrote:
M. Lewis <mailto:[EMAIL PROTECTED]> wrote:
: But I don't think the following regex is really doing that:
:
: /micr[qw]o[-]ca[a]p[k][s]/i
:
: Suggestions, corrections welcome.
/Microcap|Micro-cap|MicroCaap|Micrqocap|MicrwoCap|MicroCapks/
One advantage of this regex is that new obfuscations can
be added very easily.
HTH,
Charles K. Clarkson
Thanks Charles. I see your point. Initially I had that for up to maybe 3
or 4 variations. Then I thought I was improving it via the regex. Your
method is certainly clear without even thinking about it a whole lot.
Thanks,
Mike
--
IBM: Illustrious Busy Mice
23:50:01 up 5 days, 6:59, 7 users, load average: 0.08, 0.11, 0.23
Linux Registered User #241685 http://counter.li.org
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>