Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by edflsafoiewq

5 months ago

One of the lesser known parts of Lua is that it has its own pattern matching language!

https://www.lua.org/pil/20.1.html

It is not as powerful as regexp, but it's a huge step up for string munging over raw find/substr.

0 comments

edflsafoiewq

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities