RgxGen icon indicating copy to clipboard operation
RgxGen copied to clipboard

Regex: generate matching and non matching strings based on regex pattern.

Results 14 RgxGen issues
Sort by recently updated
recently updated
newest added

https://www.ecma-international.org/ecma-262/5.1/#sec-7.8.5

enhancement

There is a general issue with lookaround patterns, Whenever lookaround pattern part should influence another part of pattern (values that can be produced in another part of pattern) - it...

bug
enhancement

**Describe the bug** Consider a common use-case: We have a regex, used to validate a "password" string. F.e. `^(?=.*[A-Z])(?=.*[!@#$&*])(?=.*[0-9])(?=.*[a-z])[A-Za-z0-9@$!*#&]{8,25}$` Limits: * 1+ lower-case eng char * 1+ uppercase eng char...

bug

Here is a sample of what could be generated with MULTILINE=True/False For pattern = `^a` When `MULTILINE` is `FALSE` Generated values = [`a`] When `MULTILINE` is `TRUE` Generated values =...

enhancement
help wanted
question

**Describe the bug** It seems like negative lookahead breaks the pattern generated by RgxGen. I am aware that lookaheads have limited support but #63 mentioned in README/limitations does not seem...

bug

**Describe the bug** I get a NPE with the following regex `^[^\p{C}\p{Z}\s]*[^\p{C}]+[^\p{C}\p{Z}]*$` which didn't happen on version 1.4. **To Reproduce** Steps to reproduce the behavior: 1. regex: `^[^\p{C}\p{Z}\s]*[^\p{C}]+[^\p{C}\p{Z}]*$` 2. `RgxGen.parse("^[^\\p{C}\\p{Z}\\s]*[^\\p{C}]+[^\\p{C}\\p{Z}]*$").generate()`...

bug

Image contains unicode category keys that fail: ![image](https://github.com/curious-odd-man/RgxGen/assets/10796252/731525ed-386d-40f4-a338-66d1357e4110) Below are the categories and list of characters that seem to not belong to that category anymore. i.e. in java 17 -...

bug

**Describe the bug** I tried to generate lots of random phone numbers locally and at one point noticed nulls in generated strings **To Reproduce** Unfortunately, I can't tell the exact...

bug