Another Regex problem :D

Scans for, and displays main/alt relations in your Guild

Moderator: PleegWat

Another Regex problem :D

Postby Shaathor » Thu Jan 25, 2007 4:01 pm

Hi !
Just discovered this addon, installed it (no issue) but i'm having troubles configuring it, as a lot of people it seems :D

I read several times the wiki but it's not really understandable to me...
In game, in the guild list, alts are identified by their public note : Rer + maincharacter name, where "Rer" means reroll (french for "alt").

For example my reroll Ahenepeheu has "Rer Shaathor" in the public note.

What would be the regex request please ? Thanks a lot for your help.
Shaathor
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Mon Jan 22, 2007 9:11 am

Another Regex problem :D

Postby PleegWat » Thu Jan 25, 2007 6:09 pm

/Rer\s([\w]+)/i
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Another Regex problem :D

Postby Shaathor » Thu Jan 25, 2007 6:16 pm

Fantastic ! Thanks a lot now it works perfectly !
Shaathor
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Mon Jan 22, 2007 9:11 am

Re: Another Regex problem :D

Postby lesablier » Thu Jan 25, 2007 8:05 pm

My 2 cts

if you got some character with é,à or ¨ you may experience some problems

To solve it try this :

/Rer\s(\pL+)/i

Iv've right :thumright: or wrong :evil: PleegWat ?
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

Another Regex problem :D

Postby PleegWat » Fri Jan 26, 2007 5:21 am

That's correct, but I don't recommend that configuration because it requires PHP4.4/5.1. Many people run earlier versions on which \pL doesn't work.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm


Return to AltMonitor

Who is online

Users browsing this forum: No registered users and 0 guests

cron