我需要一個正則表達式將從看起來字符串中提取到一個文件的完整路徑,如:正則表達式。幫助需要
c:\DevProjects\Web Projects\RD_deploy\obj\Release\Source\App_Code\BusinessLogic\WebMethodTypes\WebCompressionResult.cs(33): error CS0246: The type or namespace name 'CompressionResult' could not be found (are you missing a using directive or an assembly reference?)
或
c:\DevProjects\AssaultRifle.cs(157): error CS0246: The type or namespace name 'Gunpowder' could not be found (are you missing a using directive or an assembly reference?)
我不能做分裂......我需要一場比賽。 – Agzam 2010-11-02 15:05:37
這是一場比賽。在Perl中你可以這樣做:$ file = $ 1如果/^(.*)\([0-9]+\):.*$/ – krico 2010-11-02 15:33:38