We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfc0161 commit 0b46c28Copy full SHA for 0b46c28
1 file changed
flow/scripts/util.tcl
@@ -77,7 +77,7 @@ proc extract_stage { input_file } {
77
# Match the stage prefix on the basename, not the full path: an ancestor
78
# dir like ".../4_slices/3_place.odb" would otherwise match "4_" -> stage 4.
79
set stage_file [file tail $input_file]
80
- if { ![regexp {^([0-9])_(([0-9])_)?} $stage_file match num1 _ num2] } {
+ if { ![regexp {^([0-9])_(?:([0-9])_)?} $stage_file match num1 num2] } {
81
puts "Error: Could not determine design stage from $input_file"
82
exit 1
83
}
0 commit comments