swiftlang / swift-experimental-string-processing

An early experimental general-purpose pattern matching engine for Swift.
Apache License 2.0
278 stars 47 forks source link

[LiteralPrinter] Use ICU-style escaping for Unicode scalars #725

Closed natecook1000 closed 8 months ago

natecook1000 commented 8 months ago

This switches from the Swift Regex-only \u{...} style to the more widely compatible \uXXXX / \UXXXXXXXX escaping for Unicode scalar values.

Fixes rdar://123769526

natecook1000 commented 8 months ago

@swift-ci Please test