The following code:
addxml.trigger { match = "^(.*?) looks very uncomfortable\.$",
regexp = true,
sequence = 50,
enabled = false,
omit_from_output = false,
name = key,
script = "Process_Study_Message",
group="study_triggers"
}
Produces this error:
Compile error
Plugin: Miniwindow_Plugin (called from world: Aardwolf)
Immediate execution
[string "Plugin"]:249: invalid escape sequence near '"^(.*?) looks very uncomfortable'
Error context in script:
249*: addxml.trigger { match = "^(.*?) looks very uncomfortable\.$",
250 : regexp = true,
251 : sequence = 50,
252 : enabled = false,
253 : omit_from_output = false,
I know since the latest version of Mushclient it has been much more picky about regex errors, but for the life of me I can't figure out what the issue is here. It is actually an exact copy from a trigger that was created by convert to regex option.
|