Change to using Text.Regex.PCRE for speed