Skip to content

[Integration] main (a0999f3) -> swift/main #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Apr 4, 2022

Conversation

hamishknight
Copy link
Contributor

No description provided.

hamishknight and others added 21 commits March 30, 2022 12:11
Throw an error for unknown a-z escape sequences
as well as non-ASCII non-whitespace escape
sequences.
Certain escape sequences express a unicode scalar
and as such are valid in a range.
This is now done from the DSLTree.
As per PCRE, Oniguruma, and ICU, a first character
of `]` is treated as literal.
Returning a constant pointer is extraneous and leads to a bunch of
warnings. Since you don't control where the pointer is assigned you
can't really control whether the pointer is const or not. The uint8_t
inside can be const though.
…const

Remove extra const from gestScriptExtensions
Make sure we don't try and print things like
empty comma lists `,,,,` or redundant parens for
concatenations that had their trivia filtered out.
Turns out this is a Unicode-defined thing.
Previously we would just lex to the end of the
input, as it was assumed only single-line regex
would be supported. Update the implementation to
handle multi-line, and take account of PCRE global
options.
Start lexing `/.../`, and allow any number of
pound signs to surround it.
When an extended delimiter `#/` is followed by a
newline, enter a multi-line mode where the literal
may span multiple lines, and extended syntax is
enabled by default.
Leave only `/.../` (and its extended syntax)
enabled for now.
)

* Clarify contractions
* Motivation tests, API updates, and text
Tweak the text to say that e.g `\I` is invalid.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight requested a review from rxwei April 4, 2022 11:06
@hamishknight hamishknight merged commit b583909 into swiftlang:swift/main Apr 4, 2022
@hamishknight hamishknight deleted the main-merge branch April 4, 2022 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants