From 973501eb89aef444af2047c37f07a8aa0d3bc6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Gr=C3=A9goire?= Date: Wed, 15 Apr 2026 11:20:26 +0200 Subject: [PATCH 1/2] Update regex pattern for optional 'foo' match Fix the pattern that matches `foo` entirely and optionally as the previous pattern matched only the last `o` of `foo`. --- dot-parse/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot-parse/README.md b/dot-parse/README.md index c909b96a16..e1b75643af 100644 --- a/dot-parse/README.md +++ b/dot-parse/README.md @@ -28,7 +28,7 @@ For brevity, all unqualified methods are assumed to be static imported from the 8 | `\[(\w+(,\w+)*)?\]`| `word().zeroOrMoreDelimitedBy(",").between("[", "]")` | Comma-delimited list of words inside square brackets. 9 | `if\b` | `word("if")` | Matches the whole word "if". 10 | `\d+(?!\.)` | `digits().notFollowedBy(".")` | Matches digits not immediately followed by a dot. -11 | `foo?` | `string("foo").optional()` | Matches "foo" zero or one time. +11 | `(?:foo)?` | `string("foo").optional()` | Matches "foo" zero or one time. 12 | `\s+` | `consecutive(Character::isWhitespace)` | Matches one or more whitespace characters. 13 | `[ \t\r\n]*` | `zeroOrMore(Character::isWhitespace)` | Matches zero or more whitespace characters. 14 | `(group)(?:bar)` | `groupParser.followedBy(barParser)` | Capture a group before a suffix pattern. From f984052f1ee136db5f96beb3400be5f831a6cd05 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 09:23:59 +0000 Subject: [PATCH 2/2] Update coverage badges --- .github/badges/concurrent24-branches.svg | 2 +- .github/badges/mug-branches.svg | 2 +- .github/badges/mug-concurrent24-coverage.svg | 2 +- .github/badges/mug-concurrent24-summary.json | 2 +- .github/badges/mug-summary.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/badges/concurrent24-branches.svg b/.github/badges/concurrent24-branches.svg index fa883c26f3..3fb2c0634c 100644 --- a/.github/badges/concurrent24-branches.svg +++ b/.github/badges/concurrent24-branches.svg @@ -1 +1 @@ -branches90.6% \ No newline at end of file +branches87.5% \ No newline at end of file diff --git a/.github/badges/mug-branches.svg b/.github/badges/mug-branches.svg index f974f9ba9a..9d50c2f5ab 100644 --- a/.github/badges/mug-branches.svg +++ b/.github/badges/mug-branches.svg @@ -1 +1 @@ -branches95.1% \ No newline at end of file +branches95% \ No newline at end of file diff --git a/.github/badges/mug-concurrent24-coverage.svg b/.github/badges/mug-concurrent24-coverage.svg index 9ae1dfda93..b2c357bc9e 100644 --- a/.github/badges/mug-concurrent24-coverage.svg +++ b/.github/badges/mug-concurrent24-coverage.svg @@ -1 +1 @@ -coverage97.6% \ No newline at end of file +coverage97.2% \ No newline at end of file diff --git a/.github/badges/mug-concurrent24-summary.json b/.github/badges/mug-concurrent24-summary.json index a7b96c8fcf..dd0f0cbfa9 100644 --- a/.github/badges/mug-concurrent24-summary.json +++ b/.github/badges/mug-concurrent24-summary.json @@ -1 +1 @@ -{"branches": 90.625, "coverage": 97.61904761904762} \ No newline at end of file +{"branches": 87.5, "coverage": 97.22222222222221} \ No newline at end of file diff --git a/.github/badges/mug-summary.json b/.github/badges/mug-summary.json index df134a690e..87caaf4362 100644 --- a/.github/badges/mug-summary.json +++ b/.github/badges/mug-summary.json @@ -1 +1 @@ -{"branches": 95.16695957820738, "coverage": 96.09486711700606} \ No newline at end of file +{"branches": 95.07908611599298, "coverage": 96.08007494699471} \ No newline at end of file