Skip to content

[Integration] main (293bad4) -> swift/main #296

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 10 commits into from
Apr 19, 2022

Conversation

natecook1000
Copy link
Member

No description provided.

rxwei and others added 10 commits April 15, 2022 13:20
Import _RegexParser as implementation only
Move Prototypes to a test target so that it's not built under the release configuration. Disable the PEG prototype in Exercises since it depends on Prototypes.

Resolves swiftlang#288.
- Update the name `CustomRegexComponent` to `CustomMatchingRegexComponent` per pitch
- Adopt `throws` for `CustomMatchingRegexComponent` as added in swiftlang#261. Errors thrown by
`CustomMatchingRegexComponent`'s conformers will be bubbled up to the engine and
surfaced at client-side.
`firstMatch(of:)` was ignoring the start/endIndex when searching in
substrings; this change fixes that issue. Also adds the 'in' label
to `Regex.firstMatch(in:Substring)` to match the rest of the related
APIs.
Throwing matches and update to CustomMatchingRegexComponent
@natecook1000
Copy link
Member Author

@swift-ci Please test

@rxwei rxwei merged commit 3a92092 into swiftlang:swift/main Apr 19, 2022
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.

3 participants