or even simpler (but slower)
Why is it slower?
In reply to Re^2: Regexes that use a string as basis for matching by Your Mother in thread Regexes that use a string as basis for matching by gatito