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
A side note. CRuby raises SyntaxError when source encoding isn't UTF-8:
# encoding: US-ASCIIputs/\p{Arabic}/.encoding# => test.rb:3: invalid character property name {Arabic}: /\p{Arabic}/ (SyntaxError)
andrykonchin
changed the title
Incorrect forced encoding for Regexp with Unicode property/script
Incorrect forced encoding for Regexp with a Unicode property/script
Mar 22, 2024
for instance the following regexps have UTF-8 encoding in CRuby:
but Prism sets the
forced_us_ascii_encoding
flag:and
Related issue - #1997
The text was updated successfully, but these errors were encountered: