Note, >> 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.) 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