RgxGen Versions Save

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

2.0

3 months ago

Major changes

Changes:

  • Support for Character Classes \p{...} and \P{...} patterns. #76
  • Configurable any character (dot) pattern #83
  • Configurable \s characters. By default, it generates only spaces and tabs. #77
  • API changed:
    • No global configuration properties
    • Factory methods to create instance of RgxGen - see examples

What's Changed

Full Changelog: https://github.com/curious-odd-man/RgxGen/compare/1.4...2.0

1.4

1 year ago
  • Support for \u for unicode characters. #68
  • iterateUnique() does not consider "a?b|c" equivalent to "(a?b)|c". #61
  • iterateUnique().current() causes ArrayIndexOutOfBoundsException. #59

1.3

3 years ago
  • Fixed: Added support for \Q and \E sequences #43
  • Feature: Implemented controllable number of repetitions for infinite patterns #45
  • Feature: Case Insensitive generation support #47
  • Feature: Support for \b and \B escape sequences and tab, carriage return and line feed characters. #51
  • Fixed: Caret ^ and dollar $ markers can be used anywhere in pattern #32
  • Fixed: Unable to parse pattern [a-c-]. #53

1.2

3 years ago
  • Fixed: Top level alternatives without group now working properly: #31
  • Fixed: Empty alternatives not always work: #35
  • Feature: Now it is possible to generate strings that does not match a pattern (see usage below) #36
  • Removed slf4j dependency.

1.1

4 years ago