in reply to Re: the god awful =~
in thread the god awful =~
None the less, you have raised an interesting point, is repeating a regex better than a long disjunctive regex? In one script I have, I need to test around 300 words against a single sentence and strip them out (its just a psudo-ai type thing that needs to ignore a lot of psudo-useless words).
The way its currently being done is simply:
$foo =~ s/$_//i for (@list);
Are there any faster/better ways than that?
|
|---|