[pmwiki-devel] regex in markup question

DaveG pmwiki at solidgone.com
Sat May 22 13:28:20 CDT 2010



On 5/22/2010 2:21 PM, Hans wrote:
> I have since found that the following works, using  a<:vspace>
> instead of the second \n:
>
>   Markup('X:abc', '>[=','/\n(X:\\s*\\d+\\s*\n.*?)\n<:vspace>/se',
>      "PreserveAbcText(PSS('$1'))");
Just a note here, that tunes on the very first list might not get 
captured by this regex, as there would not be a preceding newline.


  ~ ~ Dave



More information about the pmwiki-devel mailing list