diff --git a/config.integration.example.json b/config.integration.example.json index c3d357e..3c36896 100644 --- a/config.integration.example.json +++ b/config.integration.example.json @@ -8,11 +8,11 @@ "keywords": [ [ "Resolved", - "[resolve|fix]" + "(resolve|fix)" ], [ "Closed", - "[close]" + "close" ] ] }, diff --git a/tests/RegexTest.php b/tests/RegexTest.php index 0c54890..2c619f8 100644 --- a/tests/RegexTest.php +++ b/tests/RegexTest.php @@ -30,7 +30,7 @@ public function testKeyword() "ref test-123 Issue" => 1, ]; - $pattern = '[resolve|fix|see|ref]'; + $pattern = '(resolve|fix|see|ref)'; foreach($array as $subject => $matchCount) {