W
Wolfgang Nádasi-Donner
I've started some experimental work with Onigurama in the Ruby 1.9 environment.
Everything was fine up to the moment I started using the subexpression call. I constructed the following
pattern:
(?<bal>[^()]*(\(\g<bal>\)[^()]*)*)
Then I tried to use this far from perfect formed pattern and got the message, that it contains an infinite
left recursion. I don't understand this, because the pattern must consume "\(" before coming to the recursive
call.
I've sent this earlier to Mr. Kosako ([email protected]), but I don't know if he is the right adressee.
Everything was fine up to the moment I started using the subexpression call. I constructed the following
pattern:
(?<bal>[^()]*(\(\g<bal>\)[^()]*)*)
Then I tried to use this far from perfect formed pattern and got the message, that it contains an infinite
left recursion. I don't understand this, because the pattern must consume "\(" before coming to the recursive
call.
I've sent this earlier to Mr. Kosako ([email protected]), but I don't know if he is the right adressee.