Ævar Arnfjörð Bjarmason wrote:
Changed it to
/^([á|ð|é|í|ó|ú|ý|þ|æ|ö|a-z]+)(.*)$/sD , works like a charm
I'm not sure, but this looks like it would also expand on the | character.
You want just: /^([áðéíóúýþæöa-z]+)(.*)$/sD
I actually am sure now. I tried it on the German Wikipedia, and indeed
the | character becomes part of the link this way.