Skip to content

Commit

Permalink
get_lib_cells allow wildcard lib name
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed Jun 24, 2019
1 parent 1249439 commit 15e759a
Show file tree
Hide file tree
Showing 2 changed files with 1,634 additions and 1,631 deletions.
4 changes: 2 additions & 2 deletions tcl/Cmds.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1762,9 +1762,9 @@ proc cell_regexp {} {

proc cell_wild_regexp { divider } {
if { $divider == "." } {
set lib_regexp {[a-zA-Z0-9_]+}
set lib_regexp {[a-zA-Z0-9_*+?^$\{\}]+}
} else {
set lib_regexp {[a-zA-Z0-9_\.]+}
set lib_regexp {[a-zA-Z0-9_.*+?^$\{\}]+}
}
set cell_wild_regexp {[a-zA-Z0-9_.*+?^$\{\}]+}
return "^(${lib_regexp})${divider}(${cell_wild_regexp})$"
Expand Down
Loading

0 comments on commit 15e759a

Please sign in to comment.