Fix Bug: RegularExpression Class with Backslash

If there is any regular expression with a class with backslash inside like in /[\w]*/ the regular expression will not be recognized. This fix solve this bug.