diff options
author | 2015-03-11 16:53:07 -0400 | |
---|---|---|
committer | 2015-03-11 16:53:07 -0400 | |
commit | 85450b9983ec16b27981572c258298e6fbf2f59d (patch) | |
tree | 3a9557314cad78bde44d9d2030110339b73669f4 /doc | |
parent | 920c230f140c38ec072da27e522053aed2a9af75 (diff) | |
download | textadept-85450b9983ec16b27981572c258298e6fbf2f59d.tar.gz textadept-85450b9983ec16b27981572c258298e6fbf2f59d.zip |
Updated to Lua 5.3, LPeg 0.12.2, and lfs 1.6.3.
LuaJIT uses Lua 5.3's new utf8 library.
Restored documentation for Lua 5.1 symbols and added deprecation notes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/manual.md b/doc/manual.md index b89c8349..3f08f4cf 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -1710,8 +1710,8 @@ combinations are allowed in describing a character class: * **`%x`:** represents all hexadecimal digits. * **`%`_`x`_:** (where _x_ is any non-alphanumeric character) represents the character _x_. This is the standard way to escape the magic characters. Any - punctuation character (even the non magic) can be preceded by a '`%`' when - used to represent itself in a pattern. + non-alphanumeric character (including all punctuations, even the non magical) + can be preceded by a '`%`' when used to represent itself in a pattern. * **`[set]`:** represents the class which is the union of all characters in set. A range of characters can be specified by separating the end characters of the range with a '`-`'. All classes `%`_x_ described above can also be used as @@ -1737,17 +1737,18 @@ _Pattern Item:_ A _pattern item_ can be * a single character class, which matches any single character in the class; -* a single character class followed by '`*`', which matches 0 or more +* a single character class followed by '`*`', which matches zero or more repetitions of characters in the class. These repetition items will always match the longest possible sequence; -* a single character class followed by '`+`', which matches 1 or more +* a single character class followed by '`+`', which matches one or more repetitions of characters in the class. These repetition items will always match the longest possible sequence; -* a single character class followed by '`-`', which also matches 0 or more +* a single character class followed by '`-`', which also matches zero or more repetitions of characters in the class. Unlike '`*`', these repetition items will always match the _shortest_ possible sequence; -* a single character class followed by '`?`', which matches 0 or 1 occurrence of - a character in the class; +* a single character class followed by '`?`', which matches zero or one + occurrence of a character in the class. It always matches one occurrence if + possible. * `%n`, for _n_ between 1 and 9; such item matches a substring equal to the _n_-th captured string (see below); * `%bxy`, where _x_ and _y_ are two distinct characters; such item matches |