Regex scanner fix

https://bugs.eclipse.org/bugs/show_bug.cgi?id=404832 

allow '/' between [] in regex