4 ms·
Regex-guided gen is slick… is it arbitrary? Or are you custom building it for json? If arbitrary, how are you pre-defining a set of masks? I would expect that
by spott 3y ago
Regex-guided gen is slick… is it arbitrary? Or are you custom building it for json?
If arbitrary, how are you pre-defining a set of masks? I would expect that splitting an arbitrary regex into a bunch of contexts for a masking dictionary to be non-trivial.
- remilouf 3y agoRegex-Gen is implemented in all generality in the library (minus some constructs that we still have to add). JSON is merely an application. You can read https://blog.normalcomputing.ai/posts/2023-07-27-regex-guided-generation/regex-guided-generation.html https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide... for a more detailed explanation of how it works. Should answer your question :)