Changeset 148 for trunk/gui/scripts/units.tcl
- Timestamp:
- Dec 12, 2005, 9:26:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/units.tcl
r146 r148 450 450 } 451 451 # note: case-insensitive matching for metric prefix 452 if {[regexp {^(/?)([cCmMuUnNpPfFaAkKgGtT]?)([a-zA-Z] .+)$} $units match slash prefix tail]} {452 if {[regexp {^(/?)([cCmMuUnNpPfFaAkKgGtT]?)([a-zA-Z]+[0-9]+|[a-zA-Z]+)$} $units match slash prefix tail]} { 453 453 if {[regexp {^[CUNFAK]$} $prefix]} { 454 454 # we know that these should be lower case
Note: See TracChangeset
for help on using the changeset viewer.