Boost logo

Boost :

From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2002-11-06 10:24:04


We are having some problems with using boost.regex without exceptions.

If a faulty regex is entered the app usually crashes with a SIGFPE
signal.

Is it any way to check that a regex is valid?
(when not using exceptions)

boost::regex e("a(");

works fine... but when used app crashes.

-- 
	Lgb

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk