Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Jan 5, 2024
1 parent 3a77139 commit 4ecbeb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/regex.nim
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ the scope, and it contains the submatches for every capture group.
Invalid UTF-8 input text
########################
There is a UTF-8 validation for the input text,
but for perf reason this is only done in debug mode.
UTF-8 validation on the input text is only done in debug mode for perf reasons.
The behaviour on invalid UTF-8 input (i.e: malformed, corrupted, truncated, etc)
when compiling in release/danger mode is currently undefined,
and it will likely result in an internal AssertionDefect or some other error.
Expand Down

0 comments on commit 4ecbeb5

Please sign in to comment.