Benct Philip Jonsson wrote:
>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
But that would sometimes grab more than just one table.
-Courtney
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l