Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
99c22c6c
Commit
99c22c6c
authored
Jul 03, 2006
by
Leigh B. Stoller
Browse files
TCL regular expressions are not as clever as perl ...
parent
e34aa6e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/parse.tcl.in
View file @
99c22c6c
...
...
@@ -407,7 +407,7 @@ proc set {args} {
# This is the special OPT array, which we need to keep ordered
# when inserting into the DB.
#
if {[regexp {^opt\((
.*
)\)} $var d optname]} {
if {[regexp {^opt\((
[-_0-9a-zA-Z]+
)\)} $var d optname]} {
real_set optarray_order($optarray_count) $optname
incr optarray_count
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment