Boost logo

Boost Users :

From: Raul Huertas Diaz (rhuertas_at_[hidden])
Date: 2004-02-04 09:20:42


> Hi,
>
> I am using the regex library and using the following expression. But it seems
> it is wrong. Since there is no compilation or linker error but runtime error.
>
> the expression is
>
> boost::regex e("*\\.exe")
>

I think that you should try:
boost::regex e(".*\\.exe")
The '*' must follow a valid regular expresion.


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