(?<!pattern) Confusion

Posted by Aheram on Fri 14 Jan 2005 10:43 PM — 3 posts, 14,833 views.

#0
I am trying to make a trigger that matches on "* died." but not on "Claw|Skeletal giant died." I tried using:

^((.*)|?<!Claw|?<!Skeletal giant) died\.$ but I get an error.
USA #1
If its claw giant and skeletal giant, then this should work for you:
^((?!claw giant|skeletal giant)(.*)) has died\.$

That does capture it as well.
#2
Oh! Thank you. It is actually just Claw and Skeletal Giant and other undead minions. :)