Regular expression trouble

RE: New regular expression library released - Programming Questions - Arduino Forum

Hi, I'm trying to apply RegEx .{0,12}(\s+|$) with substitution to $0\n but I can not get any match with this library.

The goal is to create a word wrap every 12 characters.

Is this a limitation of the library or am I doing something wrong?

Regards.