From f62d2d109439b962b4287bd62082ab5d8d89736e Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Fri, 6 Dec 2024 17:49:38 -0800 Subject: [PATCH] Fix permissiveness of filter regex --- sdc/Sdc.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdc/Sdc.tcl b/sdc/Sdc.tcl index a4ce0d63..012f05a2 100644 --- a/sdc/Sdc.tcl +++ b/sdc/Sdc.tcl @@ -408,7 +408,7 @@ proc current_design { {design ""} } { # Generic get_* filter. proc filter_objs { filter objects filter_function object_type } { - set filter_regexp1 {@?([a-zA-Z_]+) *((==|!=|=~|!~) *([0-9a-zA-Z_\*]+))?} + set filter_regexp1 {@?([a-zA-Z_]+) *((==|!=|=~|!~) *([0-9a-zA-Z_\\/$\[\]*]+))?} set filter_or_regexp "($filter_regexp1) *\\|\\| *($filter_regexp1)" set filter_and_regexp "($filter_regexp1) *&& *($filter_regexp1)" set filtered_objects {}