[pmwiki-users] Fixme icon

Robert Riebisch rr at bttr-software.de
Sat Jan 11 15:43:06 PST 2020


>> Based on the cases you listed, you can use this pattern:
>>    $ROEPatterns["/(\\(:FIXME:\\)|(?<![\t])\\bFIXME\\b)/"] = '(:FIXME:)';
> Works for me.
> Interestingly it doesn't work on <https://regex101.com/>.
> (:FIXME:) is still matched, although it should not.
> regex101 correctly identifies the negative lookbehind, probably doesn't
> really support it.
> (<https://regexr.com/> does not support negative lookbehind at all and
> notifies about that.)

Yes, I have used: (\(:FIXME:\)|(?<![\t])\bFIXME\b)
(Single backslashes only.)

              +++ 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