[pmwiki-users] Fixme icon

Robert Riebisch rr at bttr-software.de
Sat Jan 11 16:48:32 PST 2020


> 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". ;-)

              +++ BTTR Software +++
     Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/

More information about the pmwiki-users mailing list