Orcon
Joined: 24 May 2007 Posts: 1
|
Posted: Thu May 24, 2007 12:46 am Post subject: Incorrect EQ2 parser patterns |
|
|
Hi,
I'm just starting to use this great program. Working flawlessly so far, but I had to fix two of the regex patterns for use with Everquest 2.
1. The predefined loot pattern did not pick up on items with hyphens in their name. Changed it to:
| Code: |
| \((\d+)\)\[.*?\] You tell .*? \(\d+\),"\*[Ll]oot\s+(\w+)\s+-\s+(.*?(?=\s+-\s+))\s+-\s+(-?\d+(?:\.\d+)?)"\Z |
I should point out that the above also allows more than one space in the format, i.e. the following works as well:
| Code: |
| *loot NAME - ITEM - # |
Just change \s+ to \s if you don't like that behaviour, it is useful for us since people tend to enter more than one space at times.
2. The predefined log member pattern in /whoraid mode would also pick up people that were checked with /who, which was very annoying. Changed the pattern to this to fix that:
| Code: |
| \((\d+)\)\[.*?\] \[.*?\] (\w+) \(.+\)$ |
I hope this is useful for somebody.
Thanks again for this helpful tool,
Orcon |
|