[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Regex 'Absent Operator'
- From: Scott Morgan <blumf@...>
- Date: Mon, 27 Mar 2017 11:25:06 +0100
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 */ */'