From 3570ffb58c2348756269ebb5cdce8ef9666e460e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 05:06:49 +0000 Subject: [PATCH] build(deps): bump com.github.curious-odd-man:rgxgen from 1.4 to 2.0 Bumps [com.github.curious-odd-man:rgxgen](https://github.com/curious-odd-man/RgxGen) from 1.4 to 2.0. - [Release notes](https://github.com/curious-odd-man/RgxGen/releases) - [Commits](https://github.com/curious-odd-man/RgxGen/compare/1.4...2.0) --- updated-dependencies: - dependency-name: com.github.curious-odd-man:rgxgen dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- src/main/java/jcprofiler/profiling/AbstractProfiler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 4437e36b..aa119dc8 100644 --- a/build.gradle +++ b/build.gradle @@ -35,7 +35,7 @@ dependencies { implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.23.0' // for input generation - implementation 'com.github.curious-odd-man:rgxgen:1.4' + implementation 'com.github.curious-odd-man:rgxgen:2.0' // applet installation implementation 'org.apache.ant:ant:1.10.14' diff --git a/src/main/java/jcprofiler/profiling/AbstractProfiler.java b/src/main/java/jcprofiler/profiling/AbstractProfiler.java index c93d01ed..a7b854b4 100644 --- a/src/main/java/jcprofiler/profiling/AbstractProfiler.java +++ b/src/main/java/jcprofiler/profiling/AbstractProfiler.java @@ -219,7 +219,7 @@ protected void generateInputs(int size) { // regex if (args.dataRegex != null) { log.info("Generating inputs from regular expression {}.", args.dataRegex); - final RgxGen rgxGen = new RgxGen(args.dataRegex); + final RgxGen rgxGen = RgxGen.parse(args.dataRegex); for (int i = 0; i < size * 100; i++) { final String input = rgxGen.generate(rdn);