|
Boost : |
From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-08-27 01:48:57
David B. Held <dheld_at_[hidden]> wrote:
> "Chris Cooney" <thatdidnthurt_at_[hidden]> wrote in message
> news:Law9-OE293SpwBGpEI200000933_at_hotmail.com...
>> [...]
>> That was my problem - thank you.
>
> The moral being:
>
> Using anychar_p all by itself is usually a Bad Thing(TM)
More accurately: Using *anychar_p or +anychar_p all by itself is usually a Bad Thing(TM)
> That's because it's like the langoliers--it eats everything up.
> You usually want to say what it shouldn't eat up by subtracting the
> terminating character from the parser. I think this is a Spirit FAQ.
It is now ;-)
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk