Skip to content

Commit

Permalink
Merge pull request #761 from Automattic/fix/regexcompare-remove-redun…
Browse files Browse the repository at this point in the history
…dant-condition
  • Loading branch information
GaryJones authored Aug 23, 2023
2 parents 1647385 + 80a7c06 commit 3e73ba2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public function getGroups() {
public function callback( $key, $val, $line, $group ) {
return ( strpos( $val, 'NOT REGEXP' ) === 0
|| strpos( $val, 'REGEXP' ) === 0
|| in_array( $val, [ 'REGEXP', 'NOT REGEXP' ], true ) === true
);
}
}

0 comments on commit 3e73ba2

Please sign in to comment.