我有內容。如何在正則表達式中獲得製表符匹配
Welcome to the world.
我想從出發點得到匹配計數。不在內容選項卡內。
我試過但沒有工作。它得到所有的標籤計數。
use strict;
use warnings FATAL => 'all';
my $cnt = qq( welcome to the world);
my $number =() = $cnt =~ /(\t)/gi;
print join("\n", $number);exit;
感謝提前。請任何人幫忙。
你希望要打印什麼樣的價值? – 2014-12-03 04:20:16