Changeset 842 for trunk/tcl


Ignore:
Timestamp:
Jan 3, 2008 2:24:30 PM (15 years ago)
Author:
gah
Message:

allow component names with digits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tcl/scripts/library.tcl

    r784 r842  
    806806    set node $lastnode
    807807    foreach part $path {
    808         if {![regexp {^(([a-zA-Z_]+#?)([0-9]*))?(\((.*)\))?$} $part \
     808        if {![regexp {^(([a-zA-Z0-9_]*[a-zA-Z_]+#?)([0-9]*))?(\((.*)\))?$} $part \
    809809               match dummy type index dummy name]} {
    810810            error "bad path component \"$part\""
Note: See TracChangeset for help on using the changeset viewer.