[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Regex 'Absent Operator'
- From: Ulrich Schmidt <u.sch.zw@...>
- Date: Mon, 27 Mar 2017 13:46:50 +0200
Am 27.03.2017 um 12:25 schrieb Scott Morgan:
Apparently Ruby's new release has added a new 'absent operator' to it's
Based on some academic paper (linked in article, but in Japanese), it's
supposed to help in certain cases matching things that are awkward or
impossible without (C style comments '/* ... */' is one example).
It's a bit subtle in it's behaviour and uses.
Worth considering for Lua's pattern match system?
 That is '/* okay */' but avoiding '/* wrong */ */'
For all that pattern matching stuff we can use lpeg. Why implement some
new regex features that bloat the lua library?