There's more than one way to do things | |
PerlMonks |
Re: Benchmarking "Are all these characters in this sentence?"by martin (Friar) |
on Sep 05, 2008 at 14:33 UTC ( [id://709290]=note: print w/replies, xml ) | Need Help?? |
Just for completeness, try this one, too:
Putting the whole sentence into a character class will kind of suck with veeery long sentences but medium-sized cases should benefit from the one-pass approach. Update: fixed the order of subroutine parameters
In Section
Meditations
|
|