Single quoted strings allow for two escape sequences - `\'` and `\\`, so I think we need a bit different regexp here. Maybe something like `/\\[a-z0-9]+/`.