Nested brackets
ry
coldredle... at gmail.com
Wed Nov 7 01:25:09 UTC 2007
I'm trying to recognize JSON like structures which look like this
{hello: 'world', foo: 'bar'}
but might contain nested curly brackets or brackets inside of strings
{hello: {foo: 'bar'}}
{hello: '}', foo: 'bar'}
I don't want to parse the structure - I just want to pass over it, if
possible. Recognize where it ends. Is there a pure Ragel way of doing
this, or must I do counting?
Thanks
ry
More information about the ragel-users
mailing list