Boost logo

Boost Users :

From: ope (ope-devel_at_[hidden])
Date: 2008-02-13 13:53:54


Hi,

I'try to build a regex for an ibis file, the line I'm interested looks like:

[IBIS Ver] 3.2 | Used for template variations"

where '|' is an optional comment identifier with the (therefore
optional) comments follows. I'm interested in the version self: "3.2" to
   create a parser using a factory.

Using egrep '^\[IBIS Ver]' success.

 From docs I tested the dynamic regex

$ perl -p -e '(\\w+) (\\w+)!' "Hello World"

which fails (syntax error at -e line 1, near "+) ")

The regex are perl syntax, isn't? What is the regex for my IBIS Ver
identifier?

Thanks,
Olaf


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net