[ 
https://issues.apache.org/jira/browse/TS-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780301#action_12780301
 ] 

Andrew Hsu commented on TS-48:
------------------------------

A useful comparison of regex features:
http://www.regular-expressions.info/refflavors.html

Although this is a bit old, still some useful performance numbers--especially 
the "simple matches" at the bottom of the page:
http://www.boost.org/doc/libs/1_40_0/libs/regex/doc/gcc-performance.html

License looks good to me:
http://www.pcre.org/licence.txt

Besides, httpd uses it (when configured '--with-pcre'):
http://httpd.apache.org/docs/2.2/new_features_2_2.html

Thus far, PCRE looks favorable.  Would be good to have a simple performance 
test of current POSIX regex we are using vs PCRE to make sure latest version we 
want to switch to is still good.

Cheers,
Andrew


> Change all regex code to use PCRE
> ---------------------------------
>
>                 Key: TS-48
>                 URL: https://issues.apache.org/jira/browse/TS-48
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0a
>            Reporter: Leif Hedstrom
>
> We are adding some new regex stuff into TS 2.0, using PCRE, so we should 
> examine all existing regex features, and unify on PCRE.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to