Regex for Words of xxx
Posted: Tue Jun 09, 2015 12:24 am
I have this regex which works when I test it online and have it copied the exact same way on the trigger under search text and have the RegEx box checked.
/(looted a Words of) (the Element|Tyranny|Dominion|Transcendence|Dimension|Coercion|Sight|Detention|Duress|Collection \(Azia\)|Convocation|Incarceration|Bondage)/igs
I want it to match when a party member loots a word I need for research.
Any ideas what I did wrong?
Oh, some examples to test with where:
[Sun Jun 07 00:02:03 2015] --Smorgas has looted a Words of Derivation.--
[Sun Jun 07 00:14:54 2015] --Blud has looted a Words of the Element.--
[Sun Jun 07 00:53:03 2015] --You have looted a Words of Reviviscence.--
[Sun Jun 07 00:55:47 2015] --Blud has looted a Words of the Spoken.--
[Sun Jun 07 00:55:52 2015] --Blud has looted a Words of Radiance.--
[Sun Jun 07 01:02:01 2015] --Blud has looted a Words of Discernment.--
[Sun Jun 07 01:15:44 2015] --You have looted a Words of Imitation.--
[Sun Jun 07 01:20:52 2015] --You have looted a Words of Tyranny.--
[Sun Jun 07 01:21:51 2015] --Blud has looted a Words of Collection (Azia).--
[Sun Jun 07 01:22:01 2015] --Blud has looted a Words of Recluse.--
[Sun Jun 07 01:27:25 2015] --Blud has looted a Words of Imitation.--
[Sun Jun 07 01:29:28 2015] --Blud has looted a Words of Derivation.--
[Sun Jun 07 01:29:33 2015] --Blud has looted a Words of the Sentient (Beza).--
[Sun Jun 07 01:34:36 2015] --Blud has looted a Words of Materials.--
/(looted a Words of) (the Element|Tyranny|Dominion|Transcendence|Dimension|Coercion|Sight|Detention|Duress|Collection \(Azia\)|Convocation|Incarceration|Bondage)/igs
I want it to match when a party member loots a word I need for research.
Any ideas what I did wrong?
Oh, some examples to test with where:
[Sun Jun 07 00:02:03 2015] --Smorgas has looted a Words of Derivation.--
[Sun Jun 07 00:14:54 2015] --Blud has looted a Words of the Element.--
[Sun Jun 07 00:53:03 2015] --You have looted a Words of Reviviscence.--
[Sun Jun 07 00:55:47 2015] --Blud has looted a Words of the Spoken.--
[Sun Jun 07 00:55:52 2015] --Blud has looted a Words of Radiance.--
[Sun Jun 07 01:02:01 2015] --Blud has looted a Words of Discernment.--
[Sun Jun 07 01:15:44 2015] --You have looted a Words of Imitation.--
[Sun Jun 07 01:20:52 2015] --You have looted a Words of Tyranny.--
[Sun Jun 07 01:21:51 2015] --Blud has looted a Words of Collection (Azia).--
[Sun Jun 07 01:22:01 2015] --Blud has looted a Words of Recluse.--
[Sun Jun 07 01:27:25 2015] --Blud has looted a Words of Imitation.--
[Sun Jun 07 01:29:28 2015] --Blud has looted a Words of Derivation.--
[Sun Jun 07 01:29:33 2015] --Blud has looted a Words of the Sentient (Beza).--
[Sun Jun 07 01:34:36 2015] --Blud has looted a Words of Materials.--