Adjacent scalars should always be coalesced
hamishknight opened this issue Β· comments
This applies to the DSL, for example:
let r3 = Regex {
"π¨" as UnicodeScalar
"\u{200D}" as UnicodeScalar
"π¨" as UnicodeScalar
"\u{200D}" as UnicodeScalar
"π§" as UnicodeScalar
"\u{200D}" as UnicodeScalar
"π¦" as UnicodeScalar
}
should match "π¨βπ¨βπ§βπ¦"
, but currently doesn't. It also applies to custom character classes in regex literals, e.g [e\u{301}]
should match e\u{301}
, but currently doesn't.
rdar://96942688