From: "chucke (Tiago Cardoso)" Date: 2021-09-03T15:35:36+00:00 Subject: [ruby-core:105141] [Ruby master Bug#18149] Can't match against strings with special codes within Issue #18149 has been reported by chucke (Tiago Cardoso). ---------------------------------------- Bug #18149: Can't match against strings with special codes within https://bugs.ruby-lang.org/issues/18149 * Author: chucke (Tiago Cardoso) * Status: Open * Priority: Normal * ruby -v: 3.0.1 * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- This can be summed up by the following example: ```ruby "\xFF".match /\\x/ #=> (irb):6:in `match': invalid byte sequence in UTF-8 (ArgumentError) ``` -- https://bugs.ruby-lang.org/ Unsubscribe: