That was discussed in the past. The main issue is Mesos only bundles header only libraries and regex is a binary one.
> On 05 Jul 2016, at 19:53, haosdent <haosd...@gmail.com> wrote: > >> As Joseph said, regex works well in llvm 7.3 & gcc 5.3, but does not work > in gcc 4.8.4; also try "<tr1/regex>" in gc 4.8.4, but "ld" failed :(. > > I think we just need to update the bundled boost and use the regex headers > from boost as what I do in > https://reviews.apache.org/r/40053/diff/3#index_header > > On Mon, Jun 13, 2016 at 9:58 PM, Klaus Ma <klaus1982...@hotmail.com> wrote: > >> As discussed in the RR, we'll enhance current code to handle port ranges >> as a short term solution. >> >> >> I've logged MESOS-5602 (Introduce expression grammar library)< >> https://issues.apache.org/jira/browse/MESOS-5602> to trace the long term >> solution for Mesos defined data format, e.g. resources. >> >> >> ---- >> >> Da (Klaus), Ma (??), PMPĀ®| Advisory Software Engineer >> Platform DCOS Development & Support, STG, IBM GCG >> +86-10-8245 4084 | mad...@cn.ibm.com | http://k82.me >> >> <http://k82.me/> >> >> >> ________________________________ >> From: Klaus Ma <klaus1982...@hotmail.com> >> Sent: Saturday, June 11, 2016 2:09 AM >> To: dev >> Subject: Re: [Tech-debt] Introduce regex into Mesos >> >> As Joseph said, regex works well in llvm 7.3 & gcc 5.3, but does not work >> in gcc 4.8.4; also try "<tr1/regex>" in gc 4.8.4, but "ld" failed :(. >> >> >> ---- >> >> Da (Klaus), Ma (??), PMP(r)| Advisory Software Engineer >> Platform DCOS Development & Support, STG, IBM GCG >> +86-10-8245 4084 | mad...@cn.ibm.com | http://k82.me >> >> <http://k82.me/> >> ________________________________ >> From: Joseph Wu <jos...@mesosphere.io> >> Sent: Friday, June 10, 2016 8:15:51 PM >> To: dev >> Subject: Re: [Tech-debt] Introduce regex into Mesos >> >> Same here. >> >> Mesos currently requires GCC 4.8.1+. Regex support was implemented in GCC >> 4.9.0, see [1]. >> >> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631 >> >> On Fri, Jun 10, 2016 at 11:39 AM, Kevin Klues <klue...@gmail.com> wrote: >> >>> By compiler errors, I mean "internal compiler errors" >>> >>> On Fri, Jun 10, 2016 at 11:38 AM, Kevin Klues <klue...@gmail.com> wrote: >>>> I've run into compiler errors using simple regex stuff from the >>>> standard library on our supported version of gcc. >>>> >>>> On Thu, Jun 9, 2016 at 7:30 PM, Klaus Ma <klaus1982...@gmail.com> >> wrote: >>>>> Hi team, >>>>> >>>>> >>>>> We're discussing to introduce regex into Mesos when investigating >>> MESOS-4627<https://issues.apache.org/jira/browse/MESOS-4627>; so I'd >> like >>> to ask whether anyone has experience on regex after C++11? for example, >>> supported compiler, compatibility, performance and so on :). >>>>> >>>>> >>>>> ---- >>>>> >>>>> Da (Klaus), Ma (??), PMP(r)| Advisory Software Engineer >>>>> Platform DCOS Development & Support, STG, IBM GCG >>>>> +86-10-8245 4084 | mad...@cn.ibm.com | http://k82.me >>>>> >>>>> <http://k82.me/> >>>> >>>> >>>> >>>> -- >>>> ~Kevin >>> >>> >>> >>> -- >>> ~Kevin >>> >> > > > > -- > Best Regards, > Haosdent Huang