We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbc389c commit dfb4960Copy full SHA for dfb4960
1 file changed
ci/sembr/src/main.rs
@@ -27,7 +27,7 @@ static REGEX_SPLIT: LazyLock<Regex> =
27
LazyLock::new(|| Regex::new(r"([^\.\d\-\*]\.|[^r]\?|!)\s").unwrap());
28
// list elements, numbered (1.) or not (- and *)
29
static REGEX_LIST_ENTRY: LazyLock<Regex> =
30
- LazyLock::new(|| Regex::new(r"^\s*(\d\.|\-|\*)\s+").unwrap());
+ LazyLock::new(|| Regex::new(r"^\s*(\d\.|\-|\*|\d\))\s+").unwrap());
31
32
fn main() -> Result<()> {
33
let cli = Cli::parse();
@@ -194,6 +194,7 @@ ignore etc. and
194
ignore E.g. too
195
- list. entry
196
* list. entry
197
+ 1) list. entry
198
```
199
some code. block
200
@@ -220,6 +221,8 @@ ignore E.g. too
220
221
entry
222
* list.
223
224
+ 1) list.
225
+ entry
226
227
228
0 commit comments