I'm not a fan of one-letter variable names. Can we change this? Even `string` would be fine. Same goes for `quoteRegExp` above.