+\\.pdf" // And here is how you do it in Groovy assert file ==~ /\w{1}:\\.+\\. ... is commonly seen applied directly before slashy strings in the format ~/.
確定! 回上一頁