Could you pls enable the Lua style regular expression in triggers' pattern?

Posted by Tiandy on Fri 26 Mar 2010 03:40 AM — 2 posts, 10,469 views.

#0
So I can ignore perl syntax re.
Thanks.

---------------from help-----------------------------------
Perl-compatible Regular Expressions

This is an excerpt from the file RegularExpressions.txt that is supplied as part of the MUSHclient distribution.

If you enable regular expressions for things such as triggers, aliases, "recall" window, "find" command, and so on, this is the syntax that is used.

Note that Lua regular expressions use a different syntax, see the help page for "Lua String functions".
----------------from help----------------------------------
USA #1
They're very similar. For the most part, you just use \ instead of % (like \w instead of %w). If you really want to ignore PCRE-style regex, just use ^.*$ as the pattern (with Regular Expression enabled on the right side), set Send to Script, and use string.match("%0", "pattern") or something in the Send box.