ReplaceAll(Map<String, String> replaces) : _pattern = _toPattern(replaces.keys), _replaces = replaces;