mercredi 19 avril 2017

What is an alternative for lookbehind with C++ RegEx?

I am using the following pattern (?<=<)(?<!>).*?q.*?(?!<)(?=>) which uses positive and negative lookahead and lookbehind to match the literal q that is enclosed in matching brackets. C++ RegEx does not support lookbehind what would be a good alternative? Thanks!

Aucun commentaire:

Enregistrer un commentaire