Support extended syntax in Regex.escape

`\s` should take care of everything in unicode mode, also added # given it's used as comment in extended mode.