Regex Main/Alt relationship

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Regex Main/Alt relationship

Postby williamohms » Sun Dec 01, 2013 11:52 pm

I'm trying to restart up a roster after quite a bit of time not using one. I'm attempting to do a regex to match the main to alts

the way we do it in the Guild is Officer's Note contains Alt Name

so I'm trying
Code: Select all
/Alt ([\w]+)/i
to link but that doesn't seem to be working

Server has:
Php 5.3.3
Mysql 5.1.69
Apache 2.2.15
williamohms
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Thu Nov 23, 2006 3:28 am

Re: Regex Main/Alt relationship

Postby zanix » Mon Dec 02, 2013 1:38 am

What does the note look like?
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Regex Main/Alt relationship

Postby williamohms » Mon Dec 02, 2013 2:48 am

Alt Charactername
williamohms
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Thu Nov 23, 2006 3:28 am

Re: Regex Main/Alt relationship

Postby zanix » Mon Dec 02, 2013 6:16 am

That looks right to me, my memory is pretty fuzzy on what to look for if it doesnt work.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Regex Main/Alt relationship

Postby williamohms » Mon Dec 02, 2013 7:43 am

Well that makes more sense. Apparently when the Roster imported the data it didn't import the notes. Either the plugin didn't catch them or they just weren't imported. I'll take a look see what I can find and post back.

Thanks for the help zanix
williamohms
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Thu Nov 23, 2006 3:28 am

Re: Regex Main/Alt relationship

Postby zanix » Sun Dec 08, 2013 6:10 am

Ah yep, that will do it! can't run regex on text that doesn't exist.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Regex Main/Alt relationship

Postby williamohms » Wed Dec 11, 2013 4:28 am

Yeah still not exactly sure what happened. I noticed a few issues when it comes to attempting to update the roster. The guild has 111 members and I have several characters when I attempted to import the data from the Addon it was too large. Once I updated the php upload allowance it worked but it seemed that the plugin was cutting off the data. To fix this I only do full guild updates and then clean up the WTF files. As well I only update one character at a time and this seems to solve most of the issues I was seeing.

Of course now I'm seeing an issue where the names of the characters are now like : Asper-Medivh and of course this breaks the Regex again. I'll poke around and see what I can do about that many thanks to Blizzard for that change (if that was specifically something they did and not some addon being stupid)
williamohms
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Thu Nov 23, 2006 3:28 am


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron