Use the double bracket method

Regexes don't work with the single bracket method.