0

For example symbol * and +. Like net.Framework C#. This example should work sucessfully:

(?<=a.*)b
  • how about C++11 and cplusplus.com/reference/regex – Richard Chambers Nov 24 '17 at 15:38
  • @RichardChambers Where it support unlimited/unfixed lookbehind? – Yin and yang Nov 24 '17 at 15:42
  • I have only used it fleetingly and am not well versed in its applications and support. If I had a definitive answer for you, I would have created an actual answer rather than a comment. I suggest that you update your question with a bit more info about the target environment, target compiler, etc. Also I suggest you take a look at the boost library boost.org/doc/libs/1_65_1/libs/regex/doc/html/index.html and I am not sure what "unlimited/unfixed lookbehind" is so I suggest you provide more idea as to your actual requirements rather than "full support RegExp" with an example. – Richard Chambers Nov 24 '17 at 15:54
  • So this forum thread website-watcher.info/forum/viewtopic.php?t=1522&view=next indicates that .NET is one of the best and you mention C# as well so I suggest you look at C++/CLI with Visual Studio 2015 or 2017. – Richard Chambers Nov 24 '17 at 20:28
  • License? Price? Source availability? Supported compilers? Operating systems? – einpoklum - reinstate Monica Nov 26 '17 at 17:42
0

The Perl-compatible regular expression library (PCRE)

  • Language: C (seems to also have C++ wrappers)
  • Compiler support: GCC for sure, probably all popular compilers
  • Actively maintained: Yes, last release is from 3 months ago
  • License: BSD

PCRE underpins the regular expression support in R, PHP, Delphi, MonetDB and other sofware projects - so it's pretty widely used.

This page suggests that the PCRE library supports variable-length look-behind, albeit it doesn't support arbitrary regexes within look-behinds.

PS: The (http://regular-expressions.info) website is an interesting source of information about various regular expression engines/libraries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.