5 ms·
Sure PCRE support would be big, but even posix-style BRE would be a very welcome improvement I think. (As for formatting tables, presently most of my Lua code
by stretchcat 6y ago
Sure PCRE support would be big, but even posix-style BRE would be a very welcome improvement I think.
(As for formatting tables, presently most of my Lua code has been written for mpv which has a builtin utils.to_string(v) for this purpose. In the manpage, this is documented as "only needed because Lua is terrible." I think that's a bit too far, but the frustration this must have caused really comes across.)
- pull_my_finger 6y ago> PCRE support would be big I have to say, once I learned to appreciate the combo of Lua's builtin pattern matching (no not _that_ kind of pattern matching) and LPEG, I really loathe having to use cryptic regexp's in languages like JS. Patterns are enough for most stuff, and when you want to get into more complex patterns, a PEG (LPEG in particular) is much more readable and expressive than a regex that would come out looking like a generated password.