← Back to team overview

mudlet-makers team mailing list archive

[Bug 524698] [NEW] [Bug] tempRegexTrigger() ignores flags

 

Public bug reported:

tempRegexTrigger() ignores flags, such as (?i), for example:

var = "VAR"
tempRegexTrigger([[(?i)(]]..var..[[)]]) only fires on VAR, but not var, Var, or etcetera.

In contrast, if we use the same regex in a normal trigger:
(?i)(VAR)
it works as intended.

Mudlet version: 1.0.6
OS: ArchLinux

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
[Bug] tempRegexTrigger() ignores flags
https://bugs.launchpad.net/bugs/524698
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: New

Bug description:
tempRegexTrigger() ignores flags, such as (?i), for example:

var = "VAR"
tempRegexTrigger([[(?i)(]]..var..[[)]]) only fires on VAR, but not var, Var, or etcetera.

In contrast, if we use the same regex in a normal trigger:
(?i)(VAR)
it works as intended.

Mudlet version: 1.0.6
OS: ArchLinux





Follow ups

References