Skip to content

Commit

Permalink
Add the Unicode for String Processing proposal (#1631)
Browse files Browse the repository at this point in the history
* Add the Unicode for String Processing proposal

* Add a TOC

* Apply suggestions from review

Co-authored-by: Remy Demarest <[email protected]>

* Update with corrections / proposed API

* Add information about default options

* Option setting clarifications.

* Clean up ASCII mode language

Remove "ASCII mode" language, since we don't really have a single
ASCII mode, and centralize discussion in the `asciiOnlyClasses(_:)`
option section.

* Add alternative about default options

* Add more context about semantic modes

* More detailed/correct explanation of CCCs

In particular, range behavior has a correct description here.

* Update to `defaultRepetitionBehavior`, other revisions

* Update `CharacterClass` docs

* Minor edits

* Reorganize options summary table

* Correct / improve matching semantics discussion

* Move regex syntax-specific options lower

* Improve/clarify .any/.anyGraphemeCluster

Remove description of \O

* Improve alternatives

* Add table showing Unicode property behavior

This table, and the accompanying prose, describe the way each
Unicode scalar property is extended to characters.

* Add additional alternatives and future work

* Update errant Unicode property strategies

* Add version history

* Revisions based on feedback

* Add a note about Swift regex differences

* Finish sentence about future APIs

* Assign number and kick off review
  • Loading branch information
natecook1000 authored Jun 27, 2022
1 parent f8ab8ba commit 1b219be
Showing 1 changed file with 1,362 additions and 0 deletions.
Loading

0 comments on commit 1b219be

Please sign in to comment.