I'm a programmer and know RegEx in PHP decently enough to write some interesting RegEx, but I'm a bit tripped up on some of the syntax of the RegEx used in GINA. Is there a guide for RegEx syntax I can refer to?
As a base question for something I'm confused about, here's some regex I found on this board and modified:
Code: Select all
^((?:\w+\.)?\w+) (?:tells|told) you, '(?!Attacking (?<mob>.+) Master\.)
Code: Select all
XXX tells you, 'Attacking MONSTER NAME Master.'
I don't understand this syntax:
Code: Select all
(?:SOMETHING)
Code: Select all
(?<mob>.+)
Code: Select all
<mob>.+
Code: Select all
(?!SOMETHING)
Code: Select all
((?:\w+\.)?\w+)
Anyway, a more detailed RegEx syntax guide would be helpful.
Thanks!