Perl学习笔记(1)
时间:2005-12-09 来源:zhousqy
Predefined Character Class Abbreviations In Perl
Construct Equivalent Class NegatedConstant Equivalent Negated Class
d (a digit) [0-9] D (digits, not!) [^0-9]
w (word char) [a-zA-Z0-9_] W (words, not!) [^a-zA-Z0-9_]
s (space char) [ f] S (space, not!) [^ f ]
相关阅读 更多 +