Skip to content

Commit

Permalink
Merge b18708f into b8867d7
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyunwu committed Sep 16, 2021
2 parents b8867d7 + b18708f commit 4da40fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt
Expand Up @@ -3052,6 +3052,7 @@ Expression RegularCondition() #RegularCondition:
| token=<OP_NOTEQUALSSTANDARD> { result = new NotEqualsTo(token.image); }
| token=<OP_NOTEQUALSBANG> { result = new NotEqualsTo(token.image); }
| "@@" { result = new Matches(); }
| "@?" { result = new Matches(); }
| "~" { result = new RegExpMatchOperator(RegExpMatchOperatorType.MATCH_CASESENSITIVE); }
| [<K_NOT> { not=true; } ] <K_REGEXP> [ <K_BINARY> { binary=true; } ] { result = new RegExpMySQLOperator(not, binary?RegExpMatchOperatorType.MATCH_CASESENSITIVE:RegExpMatchOperatorType.MATCH_CASEINSENSITIVE); }
| <K_RLIKE> [ <K_BINARY> { binary=true; } ] { result = new RegExpMySQLOperator(binary?RegExpMatchOperatorType.MATCH_CASESENSITIVE:RegExpMatchOperatorType.MATCH_CASEINSENSITIVE).useRLike(); }
Expand Down

0 comments on commit 4da40fc

Please sign in to comment.