Need help with simple Regex
I'm using ACT to parse the log file of Project Gordon
For guild posts the log file has this format:
26-01-14 02:16:50 [Guild] CrashinOut: what up
26-01-14 02:16:55 [Guild] CrashinOut: oh hey Ziplok
26-01-14 02:16:59 [Guild] CrashinOut: how the hell are you
There's a date and time of fixed widths, then a TAB.. Then the literal string [Guild], the player's name, a colon, a space, then the message.
What regex can I use to extract the $player and $message, which also making sure it's a [Guild] message
I've tried everything I can think of and can't get it to work.
I've tried the following, and it's valid in regex101.com:
^.{18}\[Global\]\s+(?<Player>\w+):\s(?<Message>.*)
After further investigation, it seems ACT is not parsing this regex token correctly
\[Global\]
Which is supposed to parse the literal string [Global] and it's not.
Comments
It's still not working. Even if I have just use:
\[Global\]
It doesn't trigger. But it does with other keywords consistently. I'm not sure ACT is using the \[ and \] correctly, but I'm guessing now.
It's not behaving at all like Everquest 2's log parsing.
I don't see anything about timestamp prefixes in Options-> Miscellaneous ?