Regexes are a nightmare.

The double slashing is needed because reasons.