diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-13 15:49:00 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-03-13 15:49:00 -0400 |
commit | 7676a30dbf673be3089074c5fde2a393651d2c0b (patch) | |
tree | ddf4244caae90638161b5fd2590e8ecd84f2e17a | |
parent | b96b12b77c420b4d7441ac3c1c5c6166a3f3b9a8 (diff) | |
download | slackbuilds-7676a30dbf673be3089074c5fde2a393651d2c0b.tar.gz |
libraries/lua-lpeg: Wrap README at 72 columns.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | libraries/lua-lpeg/README | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/libraries/lua-lpeg/README b/libraries/lua-lpeg/README index 1ef11d574e..2953c759c3 100644 --- a/libraries/lua-lpeg/README +++ b/libraries/lua-lpeg/README @@ -1,11 +1,13 @@ -LPeg is a new pattern-matching library for Lua, based on Parsing Expression -Grammars (PEGs). +LPeg is a new pattern-matching library for Lua, based on Parsing +Expression Grammars (PEGs). -The library offers several functions to create and compose patterns. With the -use of metamethods, several of these functions are provided as infix or prefix -operators. On the one hand, the result is usually much more verbose than the -typical encoding of patterns using the so called regular expressions (which -typically are not regular expressions in the formal sense). On the other hand, -first-class patterns allow much better documentation (as it is easy to comment -the code, to break complex definitions in smaller parts, etc.) and are -extensible, as we can define new functions to create and compose patterns. +The library offers several functions to create and compose +patterns. With the use of metamethods, several of these functions are +provided as infix or prefix operators. On the one hand, the result is +usually much more verbose than the typical encoding of patterns using +the so called regular expressions (which typically are not regular +expressions in the formal sense). On the other hand, first-class +patterns allow much better documentation (as it is easy to comment +the code, to break complex definitions in smaller parts, etc.) and +are extensible, as we can define new functions to create and compose +patterns. |