Skip to content
Discussion options

You must be logged in to vote

Do you know about fc.stringMatching? With that you can generate strings based on a regex. In your example, not sure if you mean union or concatenation of ranges, but both is possible:

// concatenation:
fc.stringMatching(/^[0-9][a-z][A-Z]$/)

// union:
fc.stringMatching(/^[0-9a-zA-Z]$/)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dubzzz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5996 on July 05, 2025 13:12.