Clean up ambiguous method warnings

When running with Ruby warnings, these usages of `#match` are ambiguous,
but can be made explicit with parens.