I'm trying to use the following syntax: [reveal className width%|wikitext/] e.g. [reveal wide 10%|[[link]]/] I'm struggling with the regex pattern for this. As soon as I throw in the wiki link, the following pattern doesn't work anymore. I'm setting getSort to 154. I also tried 1154 as well as 4. \[reveal[^\r\n\|/\]]*+\|(?=[^\r\n\]/]*/\]) this is I think: find [reveal followed at least by something but not returns | / ] followed by | then look ahead for any characters except returns ] / followed by /] getType = formatting, getAllowedTypes = substition, protected, disabled, formatting Can I not do this because of the link syntax? Any help would be greatly appreciated.