main
pengjunwu 2024-01-24 14:03:42 +08:00
parent 002cb6b32d
commit 3c2b07bedd
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ fi
text="$1"
echo "blame start $text"
if [[ $text =~ (Assets\/.*)\/(.*\.cs)?([0-9]+) ]]; then
if [[ $text =~ (Assets\/.*)\/(.*\.cs)[:\(]([0-9]+) ]]; then
path="${BASH_REMATCH[1]}"
fileName="${BASH_REMATCH[2]}"
line_number="${BASH_REMATCH[3]}"