apple / swift-experimental-string-processing

An early experimental general-purpose pattern matching engine for Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preserve scalar syntax in DSL conversion

hamishknight opened this issue · comments

When attempting to convert /\u{B4}/ to the DSL, you get:

let r = Regex {
  "´"
}

we ought to try and preserve the users original syntax and use \u{B4} instead.