Skip to content

Commit 3a8da97

Browse files
committed
append argLine for concurrent24
1 parent 37b4f38 commit 3a8da97

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dot-parse/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Low-ceremony, easiest-to-use Java parser combinator, aimed to replace regex and
44

55
- **Easy to use:** a handful of primitives; write parser intuitively.
66
- **Hard to misuse:** free of the common footguns like infinite loops caused by `many(optional)` or accidental left recursion.
7+
- **Idiomatic Java:** modern, first-class Java style API for Java users (not a Haskell or Scala port).
78
- **Tiny footprint:** ~**1000 LOC** end-to-end — roughly **1/5 jparsec**.
89

910
---
@@ -22,7 +23,7 @@ For brevity, all unqualified methods are assumed to be static imported from the
2223
3 | `[0-9]{5}` | `digits().suchThat(s -> s.length() == 5, "zip code")` | Matches exactly 5 digits.
2324
4 | `(foo\|bar\|baz)` | `anyOf(string("foo"), string("bar"), string("baz"))` | Matches one of the alternatives.
2425
5 | `'[^']*'` | `quotedBy("'", "'")` | Matches a single-quoted string, excluding the quotes from the result.
25-
6 | `u[a-fA-F0-9]{4}` | `string("u").then(bmpCodeUnit())` | Matches 'u' followed by 4 hex digits.
26+
6 | `u[a-fA-F0-9]{4}` | `string("u").then(bmpCodeUnit())` | Matches 'u' followed by 4 hex digits.
2627
7 | `\d+(\.\d+)?` | `digits().optionallyFollowedBy(string(".").then(digits()))` | Matches an integer or a simple float.
2728
8 | `\[(\w+(,\w+)*)?\]`| `word().zeroOrMoreDelimitedBy(",").between("[", "]")` | Comma-delimited list of words inside square brackets.
2829
9 | `if\b` | `word("if")` | Matches the whole word "if".

mug-concurrent24/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<artifactId>maven-surefire-plugin</artifactId>
5454
<version>3.2.5</version>
5555
<configuration>
56-
<argLine>--enable-preview</argLine>
56+
<argLine>@{argLine} --enable-preview</argLine>
5757
</configuration>
5858
</plugin>
5959
</plugins>

0 commit comments

Comments
 (0)