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
where the space character between 'From' and the column (‘:’) is a Non-Breaking Space Character (U+00A0 in Unicode).
While in a Ruby runtime this regex does not match anything because it explicitly looks for a series of regular whitespaces (\s), in the online tool there is a match.
I suppose this is because the NBSC character, when copy-pasted, is somehow sanitized into a tab character, which is then recognised as a valid whitespace.
Is there a way to add support for NBSCs in the tool? If not, does anyone have more information about the limitations at stake here? :)
Thanks a lot in advance.
PS: This was first mentioned in a little post where you can find a little more context if needed
The text was updated successfully, but these errors were encountered:
Hi everyone,
I ran into an issue while testing the following regex:
Against the following string:
where the space character between 'From' and the column (‘:’) is a Non-Breaking Space Character (U+00A0 in Unicode).
While in a Ruby runtime this regex does not match anything because it explicitly looks for a series of regular whitespaces (
\s
), in the online tool there is a match.I suppose this is because the NBSC character, when copy-pasted, is somehow sanitized into a tab character, which is then recognised as a valid whitespace.
Is there a way to add support for NBSCs in the tool? If not, does anyone have more information about the limitations at stake here? :)
Thanks a lot in advance.
PS: This was first mentioned in a little post where you can find a little more context if needed
The text was updated successfully, but these errors were encountered: