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.
An early experimental general-purpose pattern matching engine for Swift.
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.