← Back to team overview

mudlet-makers team mailing list archive

[Bug 493400] [NEW] Debug shows incorrect mapping of matches[]

 

Public bug reported:

When triggers show on debug, they show as follows:

12:34:56.000 new line arrived: blahblahblah
Trigger name = whatever
matches[0] = blahblahblah
matches[1] = blah

This is misleading. Matches indexes from 1, not 0. It should read:

matches[1] = blahblahblah
matches[2] = blah

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
Debug shows incorrect mapping of matches[]
https://bugs.launchpad.net/bugs/493400
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:
When triggers show on debug, they show as follows:

12:34:56.000 new line arrived: blahblahblah
Trigger name = whatever
matches[0] = blahblahblah
matches[1] = blah

This is misleading. Matches indexes from 1, not 0. It should read:

matches[1] = blahblahblah
matches[2] = blah





Follow ups

References