[dokuwiki] Search pattern challenge for plugin
- From: "Martin Tschofen" <martin.tschofen@xxxxxxxxx>
- To: "doku wiki" <dokuwiki@xxxxxxxxxxxxx>
- Date: Mon, 25 Dec 2006 20:11:13 -0600
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.
- Follow-Ups:
- [dokuwiki] Re: Search pattern challenge for plugin
- From: Chris Smith
Other related posts:
- » [dokuwiki] Search pattern challenge for plugin
- » [dokuwiki] Re: Search pattern challenge for plugin
- » [dokuwiki] Re: Search pattern challenge for plugin
- » [dokuwiki] Re: Search pattern challenge for plugin
- » [dokuwiki] Re: Search pattern challenge for plugin
- [dokuwiki] Re: Search pattern challenge for plugin
- From: Chris Smith