Personal website Rudolf Adamkovič

Home / Lua / In-pattern balanced expression


Example

to capture all parenthesized expressions:

return string.match("A (B) C", "%b()")

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.