I have the following issues:
- I have a pattern
- I need to generate a random(ish) string that matches that pattern
So far I generate random strings then match them against the pattern. This works, but may take a pretty long time for more complex patterns.
Are there any other ways to do this?