From 4146e623d14aa78299de939b0db59cfdf77c593d Mon Sep 17 00:00:00 2001 From: James Cherry Date: Sat, 13 Apr 2024 22:59:36 -0700 Subject: [PATCH] get_* -filter do not require spaces around ||/&& Signed-off-by: James Cherry --- tcl/Sdc.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcl/Sdc.tcl b/tcl/Sdc.tcl index 322d1e62..a916b6a8 100644 --- a/tcl/Sdc.tcl +++ b/tcl/Sdc.tcl @@ -965,8 +965,8 @@ proc get_ports { args } { } variable filter_regexp1 {@?([a-zA-Z_]+) *(==|!=|=~) *([0-9a-zA-Z_\*]+)} -variable filter_or_regexp "($filter_regexp1) +\\|\\| +($filter_regexp1)" -variable filter_and_regexp "($filter_regexp1) +&& +($filter_regexp1)" +variable filter_or_regexp "($filter_regexp1) *\\|\\| *($filter_regexp1)" +variable filter_and_regexp "($filter_regexp1) *&& *($filter_regexp1)" proc filter_ports1 { filter objects } { variable filter_regexp1