Switched from posix regex to pcre