RgxGen
RgxGen copied to clipboard
Regex: generate matching and non matching strings based on regex pattern.
Stacktrace generated with the following regex: String pp = "[\\\\i-[:]][\\\\c-[:]]*"; RgxGen rgxGen = new RgxGen(pp); Generates: java.lang.IllegalArgumentException: Illegal Capacity: -13 Using the online regex testing https://regex101.com The following is valid:...
**Describe the bug** Heap overflow when parsing regex **To Reproduce** Steps to reproduce the behavior: 1. With regex pattern : hex:``28dba5292a303a2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2f2aef0100002bfd2e`` raw:``(ۥ)*0:+++++++++++++++++++/*�`` byte[] : ``[40, -37, -91, 41, 42, 48,...
**Describe the bug** The generate function returns strings, which do not match the given RegEx **To Reproduce** 1. With regex pattern '(?=(abc.\*))(?=([a-z0-5]*))' 2. Use code/API ``` RgxGen rgxGen = RgxGen.parse(regex);...