Use double bracket method

Regexes don't work with the single bracket method.