DKP Log Parser Forum Index
 Forum FAQ   Search   Register   Log in 
 About   Download   Forum   Wiki   Development
EQ1 log member pattern

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Patterns

Author

Message

gaminide



Joined: 16 Sep 2006
Posts: 7

PostPosted: Fri Sep 22, 2006 9:22 pm    Post subject: EQ1 log member pattern

Reply with quote


Hi,

This pattern picks anyone in the "/who" line.

Code:

\[\w{3} (\w{3}) (\d{2}) (\d{2}):(\d{2}):(\d{2}) (\d{4})] [\s\w]*?\[[^\]]*\] (\w+)


How can I get to pick up only those in my guild?

Code:

[Mon Sep 18 20:42:11 2006] [70 Grand Arcanist (Wizard)] Eandaen (High Elf) <United Kingdoms>


i.e. those with only "United Kingdoms" (which is the guild name) at the end.

Also make it to handle when people are "/role on", which we do if we don't want outsiders to know our target.

The pattern looks like:

Code:
[Mon Sep 18 20:34:12 2006] [ANONYMOUS] Dindalf  <United Kingdoms>


I'm sorry but is there anywhere where I can read on pattern syntax? w? d? etc...

Back to top

Lokorin
Site Admin


Joined: 03 Apr 2006
Posts: 697

PostPosted: Sat Sep 23, 2006 11:03 am    Post subject: Re: EQ1 log member pattern

Reply with quote


Quote:
How can I get to pick up only those in my guild?


I would suggest using the member list instead, only names contained in the member list are picked up by the parser.

This might work though
Code:
\[\w{3} (\w{3}) (\d{2}) (\d{2}):(\d{2}):(\d{2}) (\d{4})] [\s\w]*?\[[^\]]*\] (\w+).*?<United Kingdoms>


Quote:
I'm sorry but is there anywhere where I can read on pattern syntax? w? d? etc...


The patterns used are Java's flavor of regular expressions.

Back to top

Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DKP Log Parser Forum Index -> Patterns All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
SoftGreen 1.1 phpBB theme © DaTutorials.com 2005