in reply to Compile the regex
in thread speeding up regex

Eh, could you give an example string and pattern where the compilation makes a difference? I've tried several patterns and strings, but Benchmark never shows a difference that's more than 1%.

The \b could make a difference, but it's so far unclear whether a \b is justified or not.

Abigail