Search found 3 matches

by Quuq
Fri Jul 31, 2015 2:59 pm
Forum: Specific Trigger Questions
Topic: Trigger for Tells received. (But exclude NPC Tells)
Replies: 8
Views: 21731

Re: Trigger for Tells received. (But exclude NPC Tells)

Search Text: ^(?<char>\w+)((?<!\s).)*tells you, ' Display Text: ${char} Fancier: Search Text: ^(?<char>\w+)((?<!\s).)*tells you, '{s}' Display Text: ${char} tells {c}: {s} Since you're using ^ and \w+, you don't need the negative lookbehind for whitespace. Here's the tell trigger I use: Search Text...
by Quuq
Mon Jul 27, 2015 8:58 pm
Forum: Bug Reports
Topic: Possible bug when backreferencing a capturing group
Replies: 2
Views: 6252

Re: Possible bug when backreferencing a capturing group

Thanks for the super easy workaround, Gima. I'm looking forward to the lean, mean, regex-parsing (state) machine!
by Quuq
Mon Jul 27, 2015 3:24 pm
Forum: Bug Reports
Topic: Possible bug when backreferencing a capturing group
Replies: 2
Views: 6252

Possible bug when backreferencing a capturing group

Hey dudes, I ran into some unusual behavior today. I'm using a backreferenced capturing group to make sure that a trigger only fires when someone announces their own name in a message. Here's the string I intended to use: ^(\w+) tells (?:the )?\w+(?::\d)?, '\1 is tanking That wasn't firing. :cry: Ho...