Repository navigation
v0.2.0
0.2.0 (2026-01-09)
Added
- CLI option
-m/--max-repeatand env varRANDSTR_MAX_REPEATto control the maximum repetition cap used by*and+. - Library parameter
randstr-max-repeatfor configuring the*/+repetition cap programmatically. - Character class enhancements:
- Negated classes like
[^abc](complement within ASCII printable characters). - Common escapes inside
[...]:\d \D \w \W \s \S, plus literal escapes like\] \- \\.
- Negated classes like
Changed
tokenize-patternwas refactored to avoid repeatedlengthcalls, improving performance on longer patterns.parse-quantifiercontracts were tightened to reflect its actual return shapes (n,(normal ...),(normal-range ...)).
Fixed
- Group alternation parsing now only splits on top-level
|(doesn't break nested groups or|inside character classes). - Unicode filtering iteration off-by-one in property generation.
Full Changelog: v0.1.1...v0.2.0