I've never seen this ``RegExp.$1`` usage before. Isn't ``match[2]`` and ``match[1]`` more common to use here?