Page 1 of 1
blog: regular expression C++ classes
Posted: 2013 May 26, 06:14
by nikos
here's the comment area for today's blog post found at
http://zabkat.com/blog/regexp-C++-shootout.htm
Re: blog: regular expression C++ classes
Posted: 2013 May 29, 22:30
by Thracx
Sorry to hear about your RegEx woes, RegEx are very powerful and helpful - I use them nearly everyday as a developer and often find uses for them at home too. I recall having trouble getting them to work the way I want with X², so perhaps this explains that (C++ support, Perl-syntax, etc).
Could you use .NET for RegEx? Obviously it's not C++, but perhaps it could be an option to use when available and fallback to DEELX/etc when it's not available. Most people would have .NET installed, as it's built into Windows 7+. I'm very familiar with using RegEx via C#, so I'd be willing to write a very small managed dll for you to interop with (COM) or you can make your own wrapper dll compiled with
/clr.
PS. Ever since the forums were updated, I can no longer post to these forums from some of the machines that I use (likely because they use older browsers).
Re: blog: regular expression C++ classes
Posted: 2013 May 30, 04:27
by nikos
why don't you repeat this experiment comparing (interop or however you can) the performance of DEELX with the .NET regexp?
Re: blog: regular expression C++ classes
Posted: 2013 Aug 27, 19:06
by MacDisein
We use boost::xpressive which is also a header only template library and should be used without any other dependencies of boost.
You should give it a try.
Regards