Skip to content

feat(all): error on unsupported RegexOptions at compile time - #5180

Merged
MangelMaxime merged 1 commit into
mainfrom
feat/regex-options-diagnostic
Oct 27, 2026
Merged

MangelMaxime merged 1 commit into
mainfrom
feat/regex-options-diagnostic

Conversation

@MangelMaxime

Copy link
Copy Markdown
Member

Unsupported RegexOptions such as RightToLeft or ExplicitCapture now fail at compile time with a message naming the option, instead of throwing at run time or, on Python and Beam, silently matching wrongly.

@MangelMaxime
MangelMaxime force-pushed the feat/regex-options-diagnostic branch from f8c0498 to 25118e0 Compare October 27, 2026 09:20
@github-actions

Copy link
Copy Markdown
Contributor

Python Type Checking Results (Pyright)

Metric Value
Total errors 33
Files with errors 4
Excluded files 4
New errors ✅ No
Excluded files with errors (4 files)

These files have known type errors and are excluded from CI. Remove from pyrightconfig.ci.json as errors are fixed.

File Errors Status
temp/tests/Python/test_hash_set.py 18 Excluded
temp/tests/Python/test_applicative.py 11 Excluded
temp/tests/Python/test_nested_and_recursive_pattern.py 2 Excluded
temp/tests/Python/fable_modules/thoth_json_python/encode.py 2 Excluded

@MangelMaxime
MangelMaxime merged commit a8cbc5d into main Oct 27, 2026
36 checks passed
@MangelMaxime
MangelMaxime deleted the feat/regex-options-diagnostic branch October 27, 2026 10:30
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.

1 participant