Skip to content

Commit 0b46c28

Browse files
committed
address gemini review
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
1 parent bfc0161 commit 0b46c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow/scripts/util.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ proc extract_stage { input_file } {
7777
# Match the stage prefix on the basename, not the full path: an ancestor
7878
# dir like ".../4_slices/3_place.odb" would otherwise match "4_" -> stage 4.
7979
set stage_file [file tail $input_file]
80-
if { ![regexp {^([0-9])_(([0-9])_)?} $stage_file match num1 _ num2] } {
80+
if { ![regexp {^([0-9])_(?:([0-9])_)?} $stage_file match num1 num2] } {
8181
puts "Error: Could not determine design stage from $input_file"
8282
exit 1
8383
}

0 commit comments

Comments
 (0)