- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
元字符(Meta character)
元字符(Meta character)
Metacharacters
To match any character except line breaks
\w, letters or numbers or underline or Chinese characters
The blank \s matches any character
\d, digital
\b, the words at the beginning or end
I begin to match the string
The end of the string, $
Repeat * zero or more times
+ repeat one or more times
Repeat zero or one time?
Repeat n times {n}
{n}, repeated N times or more
{n, m} n m times to repeat
\W, not any letters, numbers, underline, Chinese characters character
\S not match any whitespace character
\D matches any non numeric character
\B, not a word beginning or end position
[^x] matches any character except x
[^aeio], in addition to any character except the letters aeio
Table 4. packet grammar
capture
(exp, exp), and to capture the text automatically named group
(? nameexp), exp, and capture the text to the name for the name group, can also be written (nameexp?)
(? Exp), exp, does not capture the matched text, nor to the packet distribution group
Zero width assertion
(? =exp), exp in front of the position
(? =exp), behind the exp position
(Exp?!), the following is not the position of exp
(? Exp !), not in front of the position of exp
Notes
(? #comment) have any impact on this type of group not regular expression processing, to provide comments for people to read
Table 5. lazy qualifier
*? Repeat any time, but as little as possible repeat
+? Repeated 1 times or more, but as little as possible repeat
?? Repeat 0 times or 1 times, but as little as possible repeat
{n, m}? N to repeat m times, but as little as possible repeat
{n}? Repeat n times, but as little as possible repeat
Table 6. commonly used treatment options
Name Description
Name Description
IgnoreCase (ignorecase), case insensitive.
Multiline (multi line) change ^ and $meaning, so that they are in an arbitrary row and line matching, rather than at the beginning and end of the whole string matching. In this mode, the precise meaning ($: match before the \n position and the pos
您可能关注的文档
- 体质的气虚、血虚、阴虚、阳虚(Deficiency of Qi, blood deficiency, yin deficiency and yang deficiency).doc
- 体育锻炼的作用(The role of physical exercise).doc
- 体量果蔬再现科技精魂养生坊拉开生财序幕(Mass reproduction technology fruits and vegetables Spirit Health square opened business Prelude)(The volume of fruits and vegetables reproduction technology spirit health square opened the prelude (Mass repro.doc
- 体验营销案例(Experience marketing case).doc
- 余华作品导读(Introduction to Yu Hua's works).doc
- 体育篮球试题答案(Answers to questions in sports and basketball).doc
- 余国俊用金沸草散治疗外感咳嗽经验(Yu Guojun used jinfeicao powder in treating cough experience).doc
- 余秋雨经典语录(Yu Qiuyu classics).doc
- 体重健康_(Healthy weight _).doc
- 余靖诗学及其诗之通趣(Yu Jing's poetry and its poetic interest).doc
- 元帅、大将简评(Marshal, general review).doc
- 元家小传(Yuan Jia biography).doc
- 做一个具有创新能力的人(Be an innovative person).doc
- 元宝山(Yuanbao Mouytain).doc
- 元故宫遗录(明朝萧洵)(Yuan the Imperial Palace (Ming Dynasty, Xiao Xun)).doc
- 元旦晚会主持词大全(New year's Eve party presided over the word Daquan).doc
- 元旦晚会外联部拉赞助策划书(New year's Eve party outreach Department sponsored planning).doc
- 元旦晚会计划书(New year's party plan).doc
- 元旦的来历习俗及谜语(图文乐)(The origins, customs and riddles of new year's Day (Graphic Music)).doc
- 元曲无名氏28首(Yuanqu anonymous 28).doc
最近下载
- 2025年光伏电站设计与运维职业技能等级考试模拟试题集(含答案解析).docx VIP
- DB13(J)T 218-2016外墙保温装饰复合板应用技术规程(盒状金属装饰保温一体板).pdf
- 护理警示标识课件.pptx VIP
- EN1563-2011 球墨铸铁 中文版.pdf VIP
- 水泥罐施工方案方针.pdf VIP
- 六年级数学下册折扣与成数人教版.pptx VIP
- 跨文化交际:中英文化对比 (3).ppt VIP
- 2025年光伏运维人员职业技能竞赛考试练习题库(含各题型)含答案.pdf VIP
- “素养导向”初中历史大单元教学策略及案例 课件.pptx
- 云南劳技七年级上册家政教案.docx VIP
文档评论(0)