Boost logo

Boost Users :

Subject: Re: [Boost-users] RegEx - Exception on faulty RE, or other report of failure.
From: Kerry, Richard (richard.kerry_at_[hidden])
Date: 2011-03-22 06:54:22


Thank you John.

Although I know the basics of exceptions I have little experience of using them.

I'll see if I can get the exception version working otherwise I'll use the flag.

Appreciatively,
Richard.
 
> boost::regex e(some_string, boost::regex_constants::no_except);
> if(e.status)
> {
> // Ooops we have an error....
> }
>
> HTH, John.
>


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