It cannot be fixed. Lua acts the same as a C-Compiler and interprets escaped characters as escaped characters. e.g. "\n" -> line feed. If you want to not translate \n into LF you have to escape it: \\n This is standard behaviour and doesnt need to be changed. In our GUI triggers regex special chars do *not* need to be escaped.
Vadim Peretokin schrieb: > Why won't this be fixed? > > -- Backslashes in tempRegexTrigger aren't auto-escaped https://bugs.launchpad.net/bugs/313608 You received this bug notification because you are a member of Mudlet Makers, which is subscribed to Mudlet. Status in Mudlet the MUD client: Won't Fix Bug description: Sample code: tempRegexTrigger( "\b(and)\b", [[selectCaptureGroup(1) setFgColor(0,255,0)]]) You need to use \\b instead of \b because Qt eats a backslash. Mudlet should compensate for this however so that \b works fine. _______________________________________________ Mailing list: https://launchpad.net/~mudlet-makers Post to : [email protected] Unsubscribe : https://launchpad.net/~mudlet-makers More help : https://help.launchpad.net/ListHelp

