luna-core 2.13.0

Pure-Rust Lua runtime (interpreter only, zero third-party dependencies). The JIT-equipped variant lives in the `luna-jit` crate.
Documentation
1
2
3
4
5
6
7
-- v2.12 CORPUS-III: greedy vs lazy patterns.
print(string.match("aaaa", "a*"))    -- aaaa (greedy)
print(string.match("aaaa", "a-"))    -- empty (lazy)
-- lazy captures shortest
print(string.match("<b>text</b>", "<(.-)>"))
-- greedy captures longest
print(string.match("<b>text</b>", "<(.*)>"))