diff options
author | João Valverde <j@v6e.pt> | 2022-05-23 00:30:37 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-05-26 10:09:13 +0000 |
commit | 8ff24c2b6e95dcff053429db665ad9578cc39508 (patch) | |
tree | 03daa3b8eccf04a95d151e57bb49fdc2c3c39865 /test/lua | |
parent | e6da2cd8de6002d231247f72ff32cede424880e9 (diff) |
Lua: Add lrexlib-pcre2 Lua regex bindings
Add the de facto standard Lua regex API to Wireshark. Upstream
code is copied verbatim and the module opened in the "rex" table.
This is just a user convenience and developer quality of life improvement
over the GRegex Lua API because it has always been possible to
load lrexlib-pcre2 as a Lua module from Wireshark.
Diffstat (limited to 'test/lua')
-rw-r--r-- | test/lua/globals_2.2.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lua/globals_2.2.txt b/test/lua/globals_2.2.txt index baafc7e3b4..1e32d5b7c8 100644 --- a/test/lua/globals_2.2.txt +++ b/test/lua/globals_2.2.txt @@ -907,6 +907,9 @@ ["report_failure"] = '<function 471>', ["require"] = '<function 472>', ["retap_packets"] = '<function 473>', + ["rex_pcre2"] = { + ["_VERSION"] = "Lrexlib 2.9.1 (for PCRE2)" + }, ["run_user_scripts_when_superuser"] = '<filtered>', ["running_superuser"] = '<filtered>', ["select"] = '<function 474>', |