Changeset 658 for trunk/gui/scripts


Ignore:
Timestamp:
Apr 3, 2007 12:27:18 PM (17 years ago)
Author:
dkearney
Message:

allow users to add an optional + or - sign infront of their percentage. rappture will still convert numbers below zero to 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/analyzer.tcl

    r654 r658  
    944944    #
    945945    while {[regexp -indices \
    946                {=RAPPTURE-PROGRESS=> *([0-9]+) +([^\n]*)(\n|$)} $message \
     946               {=RAPPTURE-PROGRESS=> *([-+]?[0-9]+) +([^\n]*)(\n|$)} $message \
    947947                match percent mesg]} {
    948948
Note: See TracChangeset for help on using the changeset viewer.