I'm having some difficulty pulling information from my prompt.
This is what the prompt looks like:
3380h, 3718m, 15800e, 15800w cexdb-
Right now, my prompt trigger is this:
(?P<chp>\d+)h, (?P<cmp>\d+)m, (?P<cend>\d+)e, (?P<cwill>\d+)w ([cexkdb@]*)-
MUSH recognizes the prompt and acts accordingly. Well... almost.
For sipping and whatnot, it works just fine. The values for the wildcards register normally EXCEPT for that last part: ([cexkdb@]*). I don't know why. No matter what configuration I use, be it that or (.*?) or even just a regular * with no regexp stuff in the trigger, it always ALWAYS registers as 'nil'.
Any idea what's going on?
This is what the prompt looks like:
3380h, 3718m, 15800e, 15800w cexdb-
Right now, my prompt trigger is this:
(?P<chp>\d+)h, (?P<cmp>\d+)m, (?P<cend>\d+)e, (?P<cwill>\d+)w ([cexkdb@]*)-
MUSH recognizes the prompt and acts accordingly. Well... almost.
For sipping and whatnot, it works just fine. The values for the wildcards register normally EXCEPT for that last part: ([cexkdb@]*). I don't know why. No matter what configuration I use, be it that or (.*?) or even just a regular * with no regexp stuff in the trigger, it always ALWAYS registers as 'nil'.
Any idea what's going on?