echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » 关于正则表达式匹配任意字符(包括换行符)的写法 仲子说

2009-03-16

关于正则表达式匹配任意字符(包括换行符)的写法

Posted in Java at 17:21 Author:仲远

标签:

???Java???????????????????????????????????????

(.*)

?????????????????????????????????????????“.”(???)?????????“\n”????????????????????????? ‘\n’ ???????????? ‘[.\n]’ ???????????????????????

([.\n]*)????????java?????????????([.\\n]*)

????????????????????????????????????????

([.|\n]*) ?? ([\n.]*)

??????????????????????????????

?????????????????????????????????????????????????????????????????????????????????

([\s\S]*)

??????? “([\d\D]*)”?“([\w\W]*)” ????

本文可以自由转载,转载时请保留全文并注明出处:
转载自仲子说 [ http://www.wangzhongyuan.com/ ]
原文链接:

1 Comment »

  1. xyz said,

    2015年November17日 at 13:52

    感谢

Leave a Comment

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word