Skip to content

Commit

Permalink
Fix invalid flag setting for RegExp after lucene upgrade (#61976)
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase authored Sep 4, 2020
1 parent e236054 commit f37727a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected StringScriptFieldRegexpQuery mutate(StringScriptFieldRegexpQuery orig)
pattern += "modified";
break;
case 3:
flags = randomValueOtherThan(flags, () -> randomInt(0xFFFF));
flags = randomValueOtherThan(flags, () -> randomInt(RegExp.ALL));
break;
default:
fail();
Expand Down

0 comments on commit f37727a

Please sign in to comment.