Skip to content

Commit

Permalink
Default enable <string>.size() to return the number of unicode codepo…
Browse files Browse the repository at this point in the history
…ints.

PiperOrigin-RevId: 367272711
  • Loading branch information
TristonianJones authored and kyessenov committed Jun 10, 2021
1 parent 3b7f706 commit 30af72e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eval/public/cel_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ struct InterpreterOptions {

// Enable functions which return the string.size() as the number of unicode
// codepoints.
// Starting on 4/7/2021 this will default to 'true'
bool enable_string_size_as_unicode_codepoints = false;
bool enable_string_size_as_unicode_codepoints = true;

// Enable short-circuiting of the logical operator evaluation. If enabled,
// AND, OR, and TERNARY do not evaluate the entire expression once the the
Expand Down

0 comments on commit 30af72e

Please # to comment.