[LLVMdev] Regular Expressions
nunoplopes at sapo.pt
Tue Jun 9 13:02:08 PDT 2009
> On Tuesday 09 June 2009 04:35, Török Edwin wrote:
> > On 2009-06-09 12:27, Howard Su wrote:
> > > This change break the MSVC build since no regex by default in Windows
> > > MSVC platform.
> > Perhaps we should add a regex implementation to lib/System?
> That's potentially a lot of work. I started looking at it and it would
> involve hiding the OpenBSD library under some other lib/System facade.
> Designing that facade takes time and we probably won't get it right
> the first or second time.
I guess the standard regex library is PCRE (http://pcre.org). It has its own
api, but it also supports the POSIX interface. The regex syntax is Perl
We bundle this library in the PHP core and it works pretty well. It compiles
everywhere and the maintenance burden is close to zero.
More information about the llvm-dev