let names = matchlist(bufname("%"), '\(.\{-1,}\):\%(\(\d\+\)\%(:\(\d*\):\?\)\?\)\?$')
if empty(names) | return | endif
let file_name = names[1]
let line_num = names[2] == "" ? "0" : names[2]
let col_num = names[3] == "" ? "0" : names[3]
if !filereadable(file_name) | return | endif
let names = matchlist(bufname("%"), '\(.\{-1,}\):\%(\(\d\+\)\%(:\(\d*\):\?\)\?\)\?$')
if empty(names) | return | endif
let file_name = names[1]
let line_num = names[2] == "" ? "0" : names[2]
let col_num = names[3] == "" ? "0" : names[3]
if !filereadable(file_name) | return | endif