lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Apparently Ruby's new release has added a new 'absent operator' to it's
regex engine.

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[0]).
It's a bit subtle in it's behaviour and uses.

Worth considering for Lua's pattern match system?


[0] That is '/* okay */' but avoiding '/* wrong */ */'