Petko, > I wasn't clear enough -- yes it matches existing (:FIXME:) but in the > end nothing happens to it. > > Like I said, lookbehind can only look for strings with the same length > and we cannot look behind for either "(:FIXME:)" 9 characters or "\t" 1 > character in the same lookbehind expression (?<!...). > > When it finds existing (:FIXME:) and replaces it with itself, it is a > way to keep it out of the way when it searches for the other cases. > > There are always other ways to do something in RegEx but this one is > short and works.
Thanks for your explanation. I understand now. And it is obviously now: The "Exp" in "RegExp" is for "Expert", not for "Expression". ;-) Cheers, Robert -- +++ BTTR Software +++ Home page: https://www.bttr-software.de/ DOS ain't dead: https://www.bttr-software.de/forum/ _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users