https://bugzilla.wikimedia.org/show_bug.cgi?id=22905

--- Comment #3 from Solitarius <mediaw...@soli.ca> 2010-03-24 04:17:26 UTC ---

1) The wiki markup bellow get incorrectly parsed. You can also check
[[User:GuillaumeBeaudoin]] for more example.

<abbr>(fr)</abbr> ISBN 2753300917 [http://bit.ly/bZAjtg La méthode Google]

The <abbr> tag is extensively used on the French wikipedia and the issue have
been first found on [[fr:Wikipedia]] by [[fr:User:Manu1400]].

2) You're right, a tab or any whitespace other than a simple space would not
make good on my regular expression. We could use \s for any whitespaces (option
A). The one likes what you've proposed (option B).

Option A - <a[\w>].*?</a>
Option B - <a[^a-zA-Z0-9].*?</a>
Option C - <a[^[:alnum:]].*?</a>

Altough, I'm not sure what capital letters would do.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to