Changeset 146 for trunk/gui/scripts/units.tcl
- Timestamp:
- Dec 8, 2005, 10:53:44 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/units.tcl
r115 r146 450 450 } 451 451 # note: case-insensitive matching for metric prefix 452 if {[regexp {^(/?)([cCmMuUnNpPfFaAkKgGtT] )(.+)$} $units match slash prefix tail]} {452 if {[regexp {^(/?)([cCmMuUnNpPfFaAkKgGtT]?)([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.