You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for insignificant-whitespace mode says this:
If you wish to match against whitespace in this mode, you can still use \s, \n, \t, etc. For escaping a single space character, you can use its hex character code \x20 or temporarily disable the x flag, e.g., (?-x: ).
Most other regex engines that support /x mode (and in particular Perl, which invented it) accept \ (backslash space) as equivalent to space and treat it as significant within /x mode. This can be significantly more readable than either of the alternatives supported by Rust, compare