Hi, I have started using parboiled library for my parser since 1 week. I noticed that Parboiled does not consume the complete input string before matching it with a rule. For example, if I have a rule Number() which consumes CharRange(‘0’,’9’)
and a rule Word() which consumes OneOrMore(FirstOf(CharRange(‘a’,’z’), CharRange(‘A’,’Z’), CharRange(‘0’,’9’))). If the input is 12abcABC, I get error instead of matching it with Word(). Is this a bug? Or is it fixed? Kindly let me know if there is any workaround possible. Thanks & Regards, Moumita Dhar |