作者sweetwords (米虫三號)
看板Perl
標題[問題] 請問這在比對啥呢 ._.?
時間Wed Feb 4 20:43:24 2009
程式看得懂要把比對結果成立要把 contri 設成跟 current 一樣
只是我不懂,究竟黃色那邊是要比對 current 裡面有啥條件呢 ._.?
if ($currentRole=~
/A(.*)A/)
{
$ContributorPattern = $currentRole;
$testIf=$ContributorPattern.$rolec;
} }
先謝謝各位回答了 <0>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.194.56
推 szuyuancheng:兩個A之間有任意個字元的字串,例如AA、A#A、BAKKAB 02/04 21:05
→ sweetwords:謝謝樓上跟另外一位熱心的版眾 :D 02/04 21:14