→ toolate:在/g後面 改為/eg 會出現 compilation error 03/12 09:49
→ deh3215:分兩段寫可以吧 if($_ =~ /TT$/) { 03/12 11:35
→ deh3215:$_ =~ s/.inc/.include/gs; 03/12 11:36
→ deh3215:檔案內容是這樣嗎 .incxxxxxxTT ? 我也算新手,互相切磋吧 03/12 11:37
→ toolate:目前是用了 s/.lib (.*)(\s+TT\s*)/.include/g 03/12 11:37
→ toolate:檔案是.inc 'xxxxxxxxx' TT 03/12 11:37