Skip to content

Make \w handle _ and adjust \W accordingly#288

Merged
bakpakin merged 1 commit intojanet-lang:masterfrom
sogaiu:regex-shorthand-char-class-tweak
Apr 11, 2026
Merged

Make \w handle _ and adjust \W accordingly#288
bakpakin merged 1 commit intojanet-lang:masterfrom
sogaiu:regex-shorthand-char-class-tweak

Conversation

@sogaiu
Copy link
Copy Markdown
Contributor

@sogaiu sogaiu commented Apr 11, 2026

This PR is an attempt to address #287.

Apart from modifying peg [1], it includes some tests.


[1] peg is the PEG used to generate a Janet peg from a typical regular expression string.

@bakpakin bakpakin merged commit a6736c0 into janet-lang:master Apr 11, 2026
33 checks passed
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.

2 participants