File tree 6 files changed +20
-20
lines changed
6 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ level: error
7
7
action :
8
8
name : edit
9
9
params :
10
- - remove
11
- - ' '
10
+ - trim
11
+ - " "
12
12
tokens :
13
- - ' [—–]\s|\s [—–]'
13
+ - ' \s [—–]\s '
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ scope: heading
7
7
action :
8
8
name : edit
9
9
params :
10
- - remove
11
- - ' .?!'
10
+ - trim_right
11
+ - " .?!"
12
12
tokens :
13
13
- ' [a-z][.?!](?:\s|$)'
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ nonword: true
7
7
action :
8
8
name : edit
9
9
params :
10
- - replace
11
- - ' - '
12
- - ' '
10
+ - regex
11
+ - " - "
12
+ - " "
13
13
tokens :
14
- - ' \s [^\s-]+ly-'
14
+ - ' \b [^\s-]+ly-\w+\b '
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ level: error
6
6
action :
7
7
name : edit
8
8
params :
9
- - replace
10
- - ' - '
11
- - ' – '
9
+ - regex
10
+ - " - "
11
+ - " – "
12
12
tokens :
13
- - ' \s -\d+\s '
13
+ - ' -\d+(?:\.\d+)? '
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ level: error
6
6
action :
7
7
name : edit
8
8
params :
9
- - replace
10
- - ' - '
11
- - ' – '
9
+ - regex
10
+ - " - "
11
+ - " – "
12
12
tokens :
13
- - ' \b\d+\s?[-] \s?\d+\b'
13
+ - ' \b\d+\s?- \s?\d+\b'
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ level: error
6
6
action :
7
7
name : edit
8
8
params :
9
- - replace
10
- - ' [-–]'
11
- - ' to '
9
+ - regex
10
+ - " [-–]"
11
+ - " to "
12
12
tokens :
13
13
- ' \b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b'
You can’t perform that action at this time.
0 commit comments