From a96284615b27226f4d34de8dfa7235f0c14ac1d4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 26 Sep 2021 14:34:06 -0700 Subject: Added __concat and __div --- Lua/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Lua/README.md') diff --git a/Lua/README.md b/Lua/README.md index d1d516b..da8b7a6 100644 --- a/Lua/README.md +++ b/Lua/README.md @@ -31,7 +31,9 @@ unambiguous. Pattern objects returned by `bp.compile()` are pre-compiled patterns that are slightly faster to reuse than just calling `bp.match()` repeatedly. They have -`:match()`, `:replace()`, and `:matches()` methods as described above. +`:match()`, `:replace()`, and `:matches()` methods as described above, as well +as a `:getsource()` method that returns the original source used to make the +pattern. All methods will raise an error with a descriptive message if the given pattern has a syntax error. -- cgit v1.2.3