> Suppose I want parslet to match a pattern which defined as anything > other than a 'blah', where 'blah' is some pattern. Would the pattern to > use be 'blah.repeat( 0,0)'? > Thanks in advance.
Hei Frank, atom.absent? may be what you're looking for. Plenty of the examples use it, it's absolutely vital to parsing. Here's a list of things you can call on atoms: http://kschiess.github.com/parslet/doc/rdoc-1.2.0/index.html > Parslet > Atoms > DSL regards, kaspar
