Heiko wrote:@vadi
Vadi wrote:match all is for regex patterns to continue matching them on the line. It doesn't do anything in a substring context across multiple patterns.
This is not correct. The match-all option also captures substring patterns, e.g. you can use it in conjunction with the highlight option to highlight all occurrences of a given substring in a line.
@Rakon
Your problem is game specific. Your game obviously doesn't wrap the paragraph and just delivers one big line that mudlet soft-wraps for you. Consequently, as the OR trigger only runs once for the entire paragraph instead of once per "screen" line, you need one trigger per pattern in this special case.
Yes, this is the case, that Achaea is sending one long line for the room elements/people. I'm not needing 'match all occurrences on line' to match more than one line. I just am wondering why it's not doing what it says it's doing.
As per my first screenshot, I believe the trigger should not only run ONCE when 'match all occurrences on line' is selected. It should continue even after matching, and continue matching, until the end of the line is reached. If Achaea is sending the room desc and people in one long line, I don't see how it is a game specific error. Mudlet is not applying the 'match all occurrences on line' to the single, incoming line.
I know of the work around, and I know that I can make a single trigger for each word I want highlighted in this manner; but I shouldn't have to, if 'match all occurrences on line' functioned for substrings.