Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| > I am still not sure.
| > boost::regex reg("([^,]+),[ ]+(.*)");
| 
| Does your regex work over multiple lines, for example?

It does not have to.

| Regexes are expensive to construct and a pain to maintain.
| As case in point, what is that (.*) group doing? If you
| want to handle multiple tokens then the regex above just
| doesn't cut it.

We are talking of a specific file format, not some general parser
stuff.

-- 
        Lgb

Reply via email to