Modified for RegexPattern bug.