From 39bb3cf2422603d854ee12529cc3419dc735802a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 19 Mar 2019 11:15:49 -0300 Subject: Name 'nonstrict' in the UTF-8 library changed to 'lax' It is not a good idea to use negative words to describe boolean values. (When we negate that boolean we create a double negative...) --- manual/manual.of | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index b7ced443..fc2550e0 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -7315,7 +7315,7 @@ valid sequences (well formed and not overlong). By default, they only accept byte sequences that result in valid Unicode code points, rejecting values greater than @T{10FFFF} and surrogates. -A boolean argument @id{nonstrict}, when available, +A boolean argument @id{lax}, when available, lifts these checks, so that all values up to @T{0x7FFFFFFF} are accepted. (Not well formed and overlong sequences are still rejected.) @@ -7338,7 +7338,7 @@ assuming that the subject is a valid UTF-8 string. } -@LibEntry{utf8.codes (s [, nonstrict])| +@LibEntry{utf8.codes (s [, lax])| Returns values so that the construction @verbatim{ @@ -7351,7 +7351,7 @@ It raises an error if it meets any invalid byte sequence. } -@LibEntry{utf8.codepoint (s [, i [, j [, nonstrict]]])| +@LibEntry{utf8.codepoint (s [, i [, j [, lax]]])| Returns the codepoints (as integers) from all characters in @id{s} that start between byte position @id{i} and @id{j} (both included). @@ -7360,7 +7360,7 @@ It raises an error if it meets any invalid byte sequence. } -@LibEntry{utf8.len (s [, i [, j [, nonstrict]]])| +@LibEntry{utf8.len (s [, i [, j [, lax]]])| Returns the number of UTF-8 characters in string @id{s} that start between positions @id{i} and @id{j} (both inclusive). -- cgit v1.2.3-55-g6feb