This brings back old memories of headaches when I first setup Regex on our old guild back about 5 years ago.
Now I have a completely different player note on our guild. Our guild uses the main name first in brackets followed by a '#' pound sign for mains and '*' asterisk sign for alts with individual name and spec following.
Example:
Toon - Player Note
Malael - [Malael]# Luke (Fur* / Pro)
Tiadre - [Malael]* Luke (Des* / Aff)
Selten - [Malael]* Luke (Enh* / Res)
As ([\w]+) is the 1 word name for the main character , my confusion is differentiating between the main and the alts as 'alt' is not use anywhere in the note.
[/([\w]+)/]# is my best guess with the 'main name' regex contained within the start and end brackets and I have a '#' pound sign as the Main identifier which is to the right of the right bracket. I'm assuming there really is no need to have an 'alt' indicator or text as Roster will see the main name and if that character name does not match the 'main name', then it is an alt, obviously. Of course, that is just the programmer in me thinking with my logic which could be 'entirely' different from the WOWRoster developers.
However, this doesn't work.
Any feedback would be greatly appreciated.