Personal website Rudolf Adamkovič

Home / Lua / In-pattern frontier expression


Example

to find the index of the first non-letter character:

index, _ = string.find("ABC-CEF", "%f[^%a]")
return index

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