Skip to content

Add support for leading - in character sets #347

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Orvid
Copy link

@Orvid Orvid commented Jun 25, 2025

This adds support for leading unescaped - in sets, since that's trivial to do manually without access to desatomat. Adding support for trailing unescaped - without access to desatomat is dramatically harder, so I have no done that.

The actual code generated by desatomat will likely differ slightly from what I'm doing manually here, but the result should still be the same.

This is a partial fix for #346. Support for trailing unescaped - is likely trivial with access to desomat, but I don't appear to have access to that, and the web version times out, so I can't do that bit myself :(

Orvid added 2 commits June 25, 2025 16:36
Add tests for the changes to support unescaped leading `-` in character sets.
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