diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-26 13:43:39 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-26 13:43:39 -0700 |
| commit | 9983e2444a60571a93eb149feaf1da3a8d0455de (patch) | |
| tree | 319bb9bfe0e39dc174e63032fdcb3b3c27f41234 /Lua/README.md | |
| parent | 77d9007a88a18e0dee08aa9ba93e3aec86375572 (diff) | |
Switched pattern objects to use a full userdata instead of a table
Diffstat (limited to 'Lua/README.md')
| -rw-r--r-- | Lua/README.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lua/README.md b/Lua/README.md index 3b6124b..d1d516b 100644 --- a/Lua/README.md +++ b/Lua/README.md @@ -30,8 +30,7 @@ which captured match will be stored at that key, so it's best to be 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 a -`.source` attribute that holds the original text used to compile them and have +slightly faster to reuse than just calling `bp.match()` repeatedly. They have `:match()`, `:replace()`, and `:matches()` methods as described above. All methods will raise an error with a descriptive message if the given pattern |
