[ 
https://issues.apache.org/jira/browse/MESOS-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368488#comment-14368488
 ] 

Rohit Upadhyaya commented on MESOS-2495:
----------------------------------------

I played around with adding xpressive to stout and to do that we need to do the 
following:

1. #include<boost/xpressive/xpressive.hpp> in stout/strings.hpp
2. Run bcp to add xpressive headers and add it to boost-1.53.0.tar.gz
3. Add regex functionality needed in stout/strings.hpp (like done in this patch 
(https://reviews.apache.org/r/31227/)) and associated tests.

Any further regex functionality if needed can be added in strings.hpp. 
xpressive is a pretty extensive library and provides support for 
match,search,replace,splitting, tokenization. Xpressive is easiest to add 
without adding too many extra dependencies.

> Evaluate a suitable regular expressions library
> -----------------------------------------------
>
>                 Key: MESOS-2495
>                 URL: https://issues.apache.org/jira/browse/MESOS-2495
>             Project: Mesos
>          Issue Type: Wish
>            Reporter: Alexander Rojas
>
> There are a couple of situations where regular expressions would be an easy 
> solution within mesos (i.e. disabling endpoints). So far no regex library has 
> been introduced in order to avoid binary dependencies; however, given regex 
> power, we would like to evaluate which library could be introduced and how 
> would be the best way to do it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to