diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-26 14:34:06 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-26 14:34:06 -0700 |
| commit | a96284615b27226f4d34de8dfa7235f0c14ac1d4 (patch) | |
| tree | 26b22ed8c48297087e8ca6bdcf7516ab4aa88430 /Lua/README.md | |
| parent | 6b29503e9583f1a598c1fb9d6617d422a7e4f7be (diff) | |
Added __concat and __div
Diffstat (limited to 'Lua/README.md')
| -rw-r--r-- | Lua/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
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. |
