I've tried using \pL instead of \w in the regex, but it doesn't have the desired effect...
Let's say I have a main "Péte" and an alt with note "Alt of Péte". The exact regex I'm using is: /Alt of (\pL+)/i
In the update log I see the following:
Péte has main Péte
Péte has no alts
...
Pete has main Pete
Pete has alts
...
So apparently, in the regex-match the accent gets lost and the link between main and alt isn't made. Instead, it shows Pete with a [+] sign, but without childs when clicked on, and Péte as main without alts.
Any suggestions why this isn't working?
Edit: I just tried the less-elegant expression: /Alt of ([^\s]+)/i and this seems to work in this case...