The \o:b has a builtin one or more qualifier (+), and the * adds another zero or more qualifier on top of that expression. It does eventually finish, but the current regular expression engine is evaluating this in exponential time complexity. I am filing a defect for this because it could definitely use some improvement. Preferably, you should just use [ \t]* for zero or more spaces, which is less complex expression.