changed interpretation of regex []()] to Matches ']', '(', and ')'