It might be worth adding parens to separate the matches here (possibly non-capturing if it causes problems)