You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
The generation rule for negative character classes does not work as expected: instead of generating a character which does not belong to the character class, it generates a printable ASCII character that is not part of the random characters generated for the class children.
Not quite sure how to fix this though, would you have any pointer as to where to start? Thanks!
The text was updated successfully, but these errors were encountered:
After having given it more thought, each element of the AST should probably return a range (or set of ranges) of the characters that it can match, knowing that in the case of alternations and classes, this would require applying some operation to their children's ranges (union or complement).
I'll take a stab at it if I can find some time!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The generation rule for negative character classes does not work as expected: instead of generating a character which does not belong to the character class, it generates a printable ASCII character that is not part of the random characters generated for the class children.
Not quite sure how to fix this though, would you have any pointer as to where to start? Thanks!
The text was updated successfully, but these errors were encountered: