Skip to content

Commit 363c997

Browse files
committed
fix: incorrect regular expression hit rate
1 parent 0ed32ea commit 363c997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ function start() {
2727

2828
// Create regular expression
2929
const reg = {
30-
author: new RegExp(authors.join('|'), 'gim'),
31-
include: new RegExp(includes.join('|'), 'gim'),
32-
exclude: new RegExp(excludes.join('|'), 'gim'),
30+
author: new RegExp(authors.join('|'), 'im'),
31+
include: new RegExp(includes.join('|'), 'im'),
32+
exclude: new RegExp(excludes.join('|'), 'im'),
3333
}
3434

3535
// The reports use repo to split paragraphs

0 commit comments

Comments
 (0)