From 3b3955794078a5bea50e68441e6e0ced4f7a5828 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 11 Jun 2016 14:59:11 -0400 Subject: Updated to Lua 5.3.3. --- doc/manual.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/manual.md b/doc/manual.md index 16c3d11c..b66179dc 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -1734,6 +1734,11 @@ combinations are allowed in describing a character class: underscore, `[0-7]` represents the octal digits, and `[0-7%l%-]` represents the octal digits plus the lowercase letters plus the '`-`' character.

+ You can put a closing square bracket in a set by positioning it as the first + character in the set. You can put an hyphen in a set by positioning it as the + first or the last character in the set. (You can also use an escape for both + cases.) +

The interaction between ranges and classes is not defined. Therefore, patterns like `[%a-z]` or `[a-%%]` have no meaning. * **`[^set]`:** represents the complement of _set_, where _set_ is interpreted -- cgit v1.2.3