Wolfgang Ndasi-Donner wrote:

> > > Onigurama does not recognize left recursion correctly.

> > Why should it?  (See below.)

> Because it is described in the Onigurama documentation

Hm, OK, sorry.  It works in 3.8.5
(http://www.geocities.jp/kosako3/oniguruma/) it seems.  Btw, can't that
regular expression be simplified a bit?  The two * could be turned into
a single ? and the [^()] can be turned into [^(] and [^)], or?,
        nikolai


-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}