Boost logo

Boost Users :

Subject: Re: [Boost-users] pathological regex?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-08-27 17:58:50


2009/8/27 Micha³ Nowotka <mmmnow_at_[hidden]>:
> Hello,
> I use boost regex v 1.37 on Ubuntu 9.04, g++-4.3.
> Because of performance issues i replaced defaut matching algorithm to
> BOOST_REGEX_RECURSIVE but then my program dont't work properly.
>
> So, is this expression pathological:
> (https?://)?([^/@]*[\\.@])?google.com[/\\?&#]*
>
> ?

If you want the best performance and you are always matching something
similar then you should use Spirit2.1 from the boost trunk, it is a
*great* deal faster, and I *think* it works on Boost 1.37 and higher,
but I know it works on 1.38 and higher.


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