in reply to Re: more efficient regular expression please
in thread more efficient regular expression please
That also removes cat.msg, vain.msg, etc. Closer to the original intent (as best as I can tell) would be:
- tye$line =~ s[v?(a?(c?(a?(t?(i?(o?(n?(\.?(m?(s?g))))))))))][];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: more efficient regular expression please (parens)
by BrowserUk (Patriarch) on Jul 03, 2003 at 15:33 UTC |