13.16. PCRE2 Regular Expressions
Prev | Chapter 13. Wireshark’s Lua API Reference Manual | Next

## 13.16. PCRE2 Regular Expressions

Lua has its own native pattern syntax in the string library, but sometimes a real regex engine is more useful. Wireshark comes with Perl Compatible Regular Expressions version 2 (PCRE2). This engine is exposed into Wireshark’s Lua engine through the well-known Lrexlib library. The module is loaded in the global environment using the "rex_pcre2" table. The manual is available at https://rrthomas.github.io/lrexlib/manual.html.

Prev | Up | Next
13.15. Gcrypt symmetric cipher functions | Home | 13.17. Bitwise Operations