Hello,
Here's the trigger I'm trying to set up:
1 :line spacer
A ghost (misses|pounds|bites) :regex
A ghost (misses|pounds|bites) :regex
1 :line spacer
The idea is that when I see something like:
A ghost misses the mob.
A ghost bites the mob.
,including the preceding blank line, and including the trailing blank line, then one of my followers (my supplicant) has failed to join in the battle with my ghosts and i want to reissue the order to join the fight.
But I'm having problems figuring out how to do it right because of the blank lines and the fact that the regex pattern for the ghost attack is identical, so both are going to match on the first occurence. And I'm not sure what the correct line delta will be.
Any help appreciated as always. Thx.
Help with line spacer in multiline trigger.
-
- Posts: 21
- Joined: Sun Dec 15, 2013 12:36 am
Re: Help with line spacer in multiline trigger.
Setup this:
0 - your regex
1 - line spacer 1
2 - your next line regex
0 - your regex
1 - line spacer 1
2 - your next line regex
-
- Posts: 21
- Joined: Sun Dec 15, 2013 12:36 am
Re: Help with line spacer in multiline trigger.
What about the preceeding and following carriage returns tho?
Re: Help with line spacer in multiline trigger.
A line spacer accepts ANY line, not just blank ones. If you need a blank line, you need a regex pattern that only matches a blank line, not a line spacer.