Doru
Many thanks. I knew it must be something simple. I was
nearly there, because I had tried 'negated' as an alternative to
'not'.
You may regret the invitation in your last line. The
documentation is rather sparse, so there may well be more questions. I
shall always try to solve it myself first, of course.
Thanks also for the speedy answer - on a Saturday afternoon
too!
Peter
Hi,
For Moose related questions, there exists a dedicated mailing list:
Related to your problem, "not" does consume the input. You want to use
"negate", which is implemented as:
PPParser>>negate
"Answer a new parser consumes any
input token but the receiver."
^ self not , #any asParser ==>
#second
Keep the questions flowing :)
Cheers,
Doru