in reply to Re: Regex: not the trailing whitespace
in thread Regex: not the trailing whitespace
I see. I don't remember exactly what I was thinking, but I suppose using a \S helps it optimize. OTOH, it might make it harder for the engine to understand. I should try some benchmarks with and without.