-----Original Message-----
From: boost-users-bounces@lists.boost.org on behalf of John Maddock
Sent: Tue 2/6/2007 7:31 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Regex failure
Is there any reason why you can't simplify your expression to just
"^[^\\s]+( ([^\\s]+)*)?$" which does the same thing much more efficiently?
[Nat] <offtopic> Is there any research work about programmatically optimizing a given regex to an equivalent, but more efficient, one? </offtopic>