summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2006-10-06 00:22:30 (GMT)
committerandreas_kupries <akupries@shaw.ca>2006-10-06 00:22:30 (GMT)
commit3bfd23341438ea4cbf59eef614e354bb66b22a84 (patch)
treee3b9694c182f607593ee12cc6aeba8e28d7d231b
parentd78a8ea8c98971dec54e3bf5c738432029bb7e61 (diff)
downloadtcl-3bfd23341438ea4cbf59eef614e354bb66b22a84.zip
tcl-3bfd23341438ea4cbf59eef614e354bb66b22a84.tar.gz
tcl-3bfd23341438ea4cbf59eef614e354bb66b22a84.tar.bz2
* library/tm.tcl: Fixed bug in TIP #189 implementation, now
allowing '_' in module names.
-rw-r--r--ChangeLog5
-rw-r--r--library/tm.tcl2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5eec923..f9e4859 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-05 Andreas Kupries <andreask@activestate.com>
+
+ * library/tm.tcl: Fixed bug in TIP #189 implementation, now
+ allowing '_' in module names.
+
2006-10-05 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tcl.h: note limitation on changing Tcl_UniChar size
diff --git a/library/tm.tcl b/library/tm.tcl
index b877cbb..31779ae 100644
--- a/library/tm.tcl
+++ b/library/tm.tcl
@@ -53,7 +53,7 @@ namespace eval ::tcl::tm {
# The regex pattern a file name has to match to make it a Tcl Module.
- set pkgpattern {^([[:alpha:]][:[:alnum:]]*)-([[:digit:]].*)[.]tm$}
+ set pkgpattern {^([_[:alpha:]][:_[:alnum:]]*)-([[:digit:]].*)[.]tm$}
# Export the public API