On 2009-08-05 Matthias Korn wrote:
> I have now settled with "\{[^\}]+\}" which is far from 
> perfect, because
> it also matches (partially) on templates. But that's ok.
> 

s/\{\|.+?\|\}//gs would do a lot better, since wikitables
start in "{|" and end in "|}" and would not touch
templates.

/BP

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to