锘?!DOCTYPE html> 姝e??琛ㄨ揪寮?璇?????ラ?ㄦ??绋?_php姝e??琛ㄨ揪寮?_js姝e??琛ㄨ揪寮?
??瀹㈤?椤?/a> | 姝e??琛ㄨ揪寮?璇??-?ラ?ㄦ??绋? | 甯哥?ㄦ???琛ㄨ揪寮?| HTML5/css3| IT璧?璁?/a>

姝e??琛ㄨ揪寮?璇?????ラ?ㄦ??绋?-姝e??琛ㄨ揪寮?30?????ラ??/h1>

?????v2.34 (2014-1-10) 浣???锛?deerchao

???

????????

  • 濡?浣?浣跨?ㄦ????绋?
  • 姝e??琛ㄨ揪寮??板????涔?涓?瑗匡?
  • ?ラ??/a>
  • 娴?璇?姝e??琛ㄨ揪寮?
  • ??瀛?绗?/a>
  • 瀛?绗﹁浆涔?
  • ??澶?
  • 瀛?绗︾被
  • ?????′欢
  • ??涔?
  • ??缁?
  • ????寮???/a>
  • ?跺????
  • 璐????跺????
  • 娉ㄩ??
  • 璐?┆涓?????/a>
  • 澶?????椤?/a>
  • 骞宠 缁?/??褰??归??
  • 杩???浜?浠?涔?涓?瑗挎病????/a>
  • ??绯讳???
  • 缃?涓???璧?婧???????????????/a>
  • ?存?扮邯褰?
  • ????????

    30??????璁╀????芥???琛ㄨ揪寮????涔?锛?骞跺?瀹???涓?浜??烘????浜?瑙o?璁╀???互?ㄨ??繁??绋?搴???缃?椤甸??浣跨?ㄥ???

    濡?浣?浣跨?ㄦ????绋?

    ????瑕?????????璇风???30????锛?濡???浣?娌℃??浣跨?ㄦ???琛ㄨ揪寮???缁?楠?锛?璇蜂?瑕?璇??惧??0绉????ラ?ㄢ?????ら??浣????浜 :)

    ???涓??㈤?d?澶?????琛ㄨ揪寮?????锛????璺?????涓?姝ヤ?姝ユ?ワ?浣?浼????版???琛ㄨ揪寮??跺?骞舵病???冲??涓????d??伴?俱??褰??讹?濡???浣???瀹?浜?杩?绡???绋?涔???锛????拌??繁???戒?寰?澶?锛??村????涔?浠?涔??借?涓?寰?锛??d????姝e父????????璁や负锛?娌℃?ヨЕ杩?姝e??琛ㄨ揪寮???浜哄?ㄧ??瀹?杩?绡???绋???锛??芥?????拌???璇??璁颁?80%浠ヤ??????芥?т负?躲??杩????????浣????藉?烘????????锛?浠ュ??浣?杩???瑕?澶?缁?涔?锛?澶?浣跨??????界??缁????℃???琛ㄨ揪寮???

    ?や?浣?涓哄?ラ?ㄦ??绋?涔?澶?锛?????杩?璇??炬??涓哄??互?ㄦ?ュ父宸ヤ?涓?娇?ㄧ??姝e??琛ㄨ揪寮?璇????????????灏变?????汉??缁????ヨ?锛?杩?涓?????杩??????寰?涓?????????浣???锛?????繁涔?娌¤?芥????????涓?瑗胯?涓??ワ?涓?????锛?

    娓??ゆ?煎? ?????煎?绾﹀?锛?涓?涓???? ??瀛?绗?璇???煎? 姝e??琛ㄨ揪寮? 姝e??琛ㄨ揪寮?涓???涓??ㄥ??(?ㄤ?????) 瀵瑰?惰?琛??归????婧?瀛?绗︿覆 瀵规???琛ㄨ揪寮????朵腑涓??ㄥ????璇存??

    ????杈规敞 ?????宠竟??涓?浜?娉ㄩ??锛?涓昏????ㄦ?ユ??渚?涓?浜??稿?充俊???????缁?娌℃??绋?搴?????????璇昏??瑙i??涓?浜??烘???蹇碉???甯稿??互蹇界?ャ??

    姝e??琛ㄨ揪寮??板????涔?涓?瑗匡?

    瀛?绗?/span>???绠??鸿蒋浠跺?????瀛??舵???烘??????浣?锛????芥???姣?锛??板?锛????圭??凤?绌烘?硷??㈣?绗︼?姹?瀛?绛?绛???瀛?绗︿覆??涓????村?涓??绗︾??搴?????????/span>涔?灏辨????瀛?锛?瀛?绗︿覆??璇存??涓??绗︿覆?归????涓????琛ㄨ揪寮?锛???甯告????杩?涓??绗︿覆????涓??ㄥ??锛??????ㄥ????????芥弧瓒宠〃杈惧?缁??虹???′欢??

    ?ㄧ???澶???瀛?绗︿覆??绋?搴???缃?椤垫?讹?缁?甯镐????ユ?剧?????浜?澶???瑙?????瀛?绗︿覆????瑕???姝e??琛ㄨ揪寮?灏辨???ㄤ???杩拌?浜?瑙?????宸ュ?枫???㈠?ヨ?璇达?姝e??琛ㄨ揪寮?灏辨???褰??????????浠g????

    寰????戒?浣跨?ㄨ?Windows/Dos涓??ㄤ???浠舵?ユ?剧??????绗?wildcard)锛?涔?灏辨??span class="code">*?????濡???浣??虫?ユ?炬??涓????涓?????????Word??妗g??璇?锛?浣?浼???绱?span style="color: red;">*.doc???ㄨ???锛?*浼?琚?В????浠绘????瀛?绗︿覆????????绗︾被浼硷?姝e??琛ㄨ揪寮?涔????ㄦ?ヨ?琛??????归????宸ュ?凤????杩?姣?璧烽????绗︼?瀹??芥?寸簿纭??版??杩颁?????姹?????褰??讹?浠d环灏辨???村???????姣?濡?浣???互缂???涓?涓????琛ㄨ揪寮?锛??ㄦ?ユ?ユ??span class="desc">????浠?寮?澶达????㈣???2-3涓??板?锛??跺?????涓??瀛??封??-??锛?????????8浣??板???瀛?绗︿覆(??010-12345678??0376-7654321)??

    ?ラ??/h2>

    瀛︿?姝e??琛ㄨ揪寮?????濂芥?规????渚?瀛?寮?濮?锛???瑙d?瀛?涔???????繁瀵逛?瀛?杩?琛?淇??癸?瀹?楠???涓??㈢??轰?涓?灏?绠?????渚?瀛?锛?骞跺?瀹?浠??浜?璇︾???璇存????

    ??璁句??ㄤ?绡??辨??灏?璇撮???ユ??span class="desc">hi锛?浣???互浣跨?ㄦ???琛ㄨ揪寮?hi??

    杩???涔?????绠?????姝e??琛ㄨ揪寮?浜?锛?瀹???互绮剧‘?归??杩??风??瀛?绗︿覆锛??变袱涓??绗︾???锛???涓?涓??绗︽??,??涓?涓???????甯革?澶???姝e??琛ㄨ揪寮???宸ュ?蜂???渚?涓?涓?拷?ュぇ灏???????椤癸?濡?????涓??杩?涓???椤癸?瀹???互?归??hi,HI,Hi,hI杩???绉????典腑??浠绘??涓?绉???

    涓?骞哥?????寰?澶???璇???????span class="string">hi杩?涓や釜杩?缁???瀛?绗︼?姣?濡?him,history,high绛?绛?????span class="regex">hi?ユ?ユ?剧??璇?锛?杩???杈圭??hi涔?浼?琚??惧?烘?ャ??濡???瑕?绮剧‘?版?ユ??i杩?涓???璇???璇?锛???浠??璇ヤ娇??span class="regex">bhib??

    b?????琛ㄨ揪寮?瑙?瀹???涓?涓??规?浠g??锛?濂藉?э???浜?浜哄?????瀛?绗︼?metacharacter锛?锛?浠h〃????璇???寮?澶存??缁?灏撅?涔?灏辨????璇???????澶????界?堕??甯歌?辨??????璇????辩┖?硷????圭??锋?????㈣??ュ??????锛?浣???span class="code">b骞朵??归??杩?浜???璇?????瀛?绗︿腑??浠讳?涓?涓??瀹????归??涓?涓??缃?/strong>??

    濡?????瑕??寸簿纭???璇存?锛?b?归??杩??风??浣?缃??瀹?????涓?涓??绗﹀????涓?涓??绗︿??ㄦ??涓?涓???涓?涓??????涓?瀛???w??

    ??濡?浣?瑕??剧????span class="desc">hi?????杩?澶?璺???涓?涓?ucy锛?浣?搴?璇ョ??span class="regex">bhib.*bLucyb??

    杩???锛?.???︿?涓???瀛?绗︼??归???や??㈣?绗︿互澶???浠绘??瀛?绗?/span>??*???锋????瀛?绗︼?涓?杩?瀹?浠h〃??涓????绗︼?涔?涓????缃???????伴??????瀹???瀹?*??杈圭????瀹瑰??互杩?缁???澶?浣跨?ㄤ换??娆′互浣挎?翠釜琛ㄨ揪寮?寰??板?归??????姝わ?.*杩??ㄤ?璧峰氨???崇??浠绘???伴????涓??????㈣???瀛?绗?/span>???板??span class="regex">bhib.*bLucyb??????灏卞????句?锛??????涓???璇?hi,?跺????换??涓?换??瀛?绗?浣?涓??芥???㈣?)锛???????ucy杩?涓???璇???

    ?㈣?绗﹀氨??n',ASCII缂???涓?0(???????x0A)??瀛?绗︺??

    濡??????朵娇?ㄥ?跺???瀛?绗︼???浠?氨?芥?????哄???芥?村己澶х??姝e??琛ㄨ揪寮???姣?濡?涓??㈣?涓??瀛?锛?

    0dd-dddddddd?归??杩??风??瀛?绗︿覆锛?浠?寮?澶达??跺????袱涓??板?锛??跺?????涓??瀛??封??-??锛???????涓??板?(涔?灏辨??腑?界???佃??风????褰??讹?杩?涓??瀛????藉?归???哄?蜂负3浣?????褰???

    杩?????d??釜?扮????瀛?绗︼??归??涓?浣??板?(0锛???1锛???2锛????︹????-涓?????瀛?绗︼????归??瀹???韩????杩?瀛?绗????????凤?????涓?í绾匡???????浣???涔?绉板?煎?)??

    涓轰??垮???d?澶??︿汉????澶?锛???浠????互杩??峰??杩?涓?〃杈惧?锛?0d{2}-d{8}??杩???d???㈢??{2}({8})????????????span class="part">d蹇?椤昏?缁???澶??归??2娆?8娆???

    娴?璇?姝e??琛ㄨ揪寮?

    濡???浣?涓?瑙?寰?姝e??琛ㄨ揪寮?寰??捐?????璇?锛?瑕?涔?浣????涓?ぉ??锛?瑕?涔?锛?浣?涓????扮??浜恒??姝e??琛ㄨ揪寮???璇??寰?浠や汉澶寸?硷??充娇瀵圭?甯镐娇?ㄥ???浜烘?ヨ?涔????姝ゃ???变??句?璇诲??锛?瀹规???洪??锛???浠ユ?句?绉?宸ュ?峰?姝e??琛ㄨ揪寮?杩?琛?娴?璇??????蹇?瑕?????

    涓????????涓?姝e??琛ㄨ揪寮???涓?浜?缁???????稿????锛?????绋?浠?缁?????井杞 .Net Framework 4.0 涓?姝e??琛ㄨ揪寮???琛?涓猴???浠ワ?????浣??ㄨ????缂?????.Net涓???宸ュ? 姝e??琛ㄨ揪寮?娴?璇???/a>??璇峰????璇ラ〉?㈢??璇存???ュ?瑁???杩?琛?璇ヨ蒋浠躲??

    涓??㈡??egex Tester杩?琛??剁?????撅?

    姝e??琛ㄨ揪寮?娴?璇??ㄨ?琛?????></p>

    <h2 id=??瀛?绗?/h2>

    ?板?ㄤ?宸茬??ラ????涓?????ㄧ????瀛?绗︿?锛?濡?b,.,*锛?杩???d.姝e??琛ㄨ揪寮???杩????村?????瀛?绗︼?姣?濡?s?归??浠绘????绌虹?界?锛?????┖?硷??惰〃绗?Tab)锛??㈣?绗︼?涓????ㄨ?绌烘?肩???w?归??瀛?姣????板???涓???绾挎??姹?瀛?绛???

    瀵逛腑??/姹?瀛????规?澶???????Net??渚???姝e??琛ㄨ揪寮?寮?????????锛??跺????涓????蜂????佃??ョ???稿?虫??妗c??

    涓??㈡?ョ?????村???渚?瀛?锛?

    baw*b?归??浠ュ?姣?a寮?澶寸????璇???????????涓???璇?寮?濮?澶?(b)锛??跺?????姣?a,?跺????换???伴????瀛?姣????板?(w*)锛?????????璇?缁???澶?(b)??

    濂藉?э??板?ㄦ??浠??璇存???琛ㄨ揪寮???????璇????涔??????э?灏辨???灏?浜?涓?涓???杩?缁???w??涓???锛?杩?涓?瀛︿??辨???惰?????????涓?涓?涓???????涓?瑗跨??纭??崇郴涓?澶 :)

    d+?归??1涓????村?杩?缁????板???杩?????+????*绫讳技????瀛?绗︼?涓???????span class="code">*?归????澶?浠绘??娆????芥??娆?锛???+???归????澶?1娆℃???村?娆?/span>??

    bw{6}b ?归????濂?涓??绗︾????璇???

    琛?.甯哥?ㄧ????瀛?绗?/caption>
    浠g?? 璇存??
    . ?归???ゆ?㈣?绗︿互澶???浠绘??瀛?绗?/span>
    w ?归??瀛?姣????板???涓???绾挎??姹?瀛?
    s ?归??浠绘????绌虹?界?
    d ?归???板?
    b ?归????璇???寮?濮???缁???
    ^ ?归??瀛?绗︿覆??寮?濮?
    $ ?归??瀛?绗︿覆??缁???

    姝e??琛ㄨ揪寮?寮?????甯镐???渚?涓?涓???娴?璇???瀹???瀛?绗︿覆???﹀?归??涓?涓????琛ㄨ揪寮??????规?锛?濡?JavaScript????RegExp.test()?规???.NET????Regex.IsMatch()?规???杩??????归?????????绗︿覆????娌℃??绗﹀??琛ㄨ揪寮?瑙??????ㄥ????濡???涓?浣跨??span class="code">^??$??璇?锛?瀵逛?d{5,12}??瑷?锛?浣跨?ㄨ??风???规?灏卞???戒?璇?瀛?绗︿覆????????2杩?缁???板?锛???涓????翠釜瀛?绗︿覆灏辨????2浣??板???

    ??瀛?绗?span class="code">^锛????板?6?ㄥ??涓?涓????涓???绗﹀?凤???$?藉?归??涓?涓??缃??杩???b???圭被浼笺??^?归??浣?瑕??ㄦ?ユ?ユ?剧??瀛?绗︿覆??寮?澶达?$?归??缁?灏俱??杩?涓や釜浠g???ㄩ?璇?杈??ョ????瀹规?堕??甯告?????姣?濡?涓?涓??绔?濡???瑕?姹?浣?濉?????QQ?峰?椤讳负5浣???2浣??板??讹???互浣跨???^d{5,12}$??

    杩?????{5,12}???????缁?杩???{2}??被浼肩??锛????杩?{2}?归?????戒?澶?涓?灏???澶?2娆?/span>锛?{5,12}????span class="desc">??澶???娆℃?颁??藉?浜?5娆★?涓??藉?浜?12娆?/span>锛??﹀???戒??归????

    ??涓轰娇?ㄤ?^??$锛???浠ヨ??ョ???翠釜瀛?绗︿覆?借??ㄦ?ュ??d{5,12}?ュ?归??锛?涔?灏辨????翠釜杈???span class="desc">蹇?椤绘????2涓??板?锛???姝ゅ???杈??ョ??QQ?疯?藉?归??杩?涓????琛ㄨ揪寮???璇?锛??e氨绗﹀??瑕?姹?浜???

    ??蹇界?ュぇ灏???????椤圭被浼硷???浜?姝e??琛ㄨ揪寮?澶???宸ュ?疯???涓?涓????澶?琛?????椤广??濡?????涓??杩?涓???椤癸?^??$????涔?灏卞????浜??归??琛???寮?濮?澶???缁???澶???

    瀛?绗﹁浆涔?

    濡???浣??虫?ユ?惧??瀛?绗︽??韩??璇?锛?姣?濡?浣??ユ??span class="desc">.,????*,灏卞?虹?颁????锛?浣?娌″??娉???瀹?瀹?浠????涓哄?浠??琚?В??????????????杩??朵?灏卞?浣跨??span class="code">?ュ??娑?杩?浜?瀛?绗︾???规???涔?????姝わ?浣?搴?璇ヤ娇??span class="regex">.??*??褰??讹?瑕??ユ??span class="desc">??韩锛?浣?涔?寰???span class="regex">.

    渚?濡?锛?deerchao.net?归??deerchao.net锛?C:Windows?归??C:Windows??

    ??澶?

    浣?宸茬???杩?浜????㈢??*,+,{2},{5,12}杩???涓??归????澶????瑰?浜???涓??㈡?????琛ㄨ揪寮?涓?????????瀹?绗???瀹??伴????浠g??锛?渚?濡?*,{5,12}绛?)锛?

    琛?.甯哥?ㄧ????瀹?绗?/caption>
    浠g??/璇?? 璇存??
    * ??澶??舵????村?娆?/span>
    + ??澶?涓?娆℃???村?娆?/span>
    ? ??澶??舵???涓?娆?/span>
    {n} ??澶?n娆?/span>
    {n,} ??澶?n娆℃???村?娆?/span>
    {n,m} ??澶?n??娆?/span>

    涓??㈡???浜?浣跨?ㄩ??澶???渚?瀛?锛?

    Windowsd+?归??Windows???㈣?1涓????村??板?

    ^w+?归??涓?琛???绗??涓???璇?(???翠釜瀛?绗︿覆??绗??涓???璇?锛??蜂??归????釜????寰?????椤硅?缃?

    瀛?绗︾被

    瑕??虫?ユ?炬?板?锛?瀛?姣????板?锛?绌虹?芥???绠?????锛???涓哄凡缁???浜?瀵瑰?杩?浜?瀛?绗﹂????????瀛?绗︼?浣??????浣??冲?归??娌℃??棰?瀹?涔???瀛?绗︾??瀛?绗﹂????(姣?濡????冲?姣?a,e,i,o,u),搴?璇ユ??涔???锛?

    寰?绠???锛?浣?????瑕??ㄦ?规???烽?????哄?浠?氨琛?浜?锛???[aeiou]灏卞?归??浠讳?涓?涓??辨?????冲?姣?锛?[.?!]?归?????圭???.?????!)??

    ??浠????互杞绘?惧?版??瀹?涓?涓??绗?span class="name">????/span>锛???[0-9]浠h〃??????涓?d灏辨????ㄤ??寸??锛?涓?浣??板?锛?????[a-z0-9A-Z_]涔?瀹??ㄧ???浜?w锛?濡??????????辨????璇?锛???

    涓??㈡???涓??村?????琛ㄨ揪寮?锛?(?0d{2}[) -]?d{8}??

    ??(??????)??涔?????瀛?绗︼????㈢????缁?????浼????帮???浠ュ?ㄨ?????瑕?浣跨??a href="#escape">杞????

    杩?涓?〃杈惧???互?归????绉??煎????佃??风??锛???(010)88886666锛???022-22334455锛???02912345678绛?????浠??瀹?杩?琛?涓?浜??????э?棣??????涓?浆涔?瀛?绗?span class="part">(,瀹??藉?虹??娆℃??1娆??),?跺?????涓?span class="part">0锛????㈣???2涓??板?(d{2})锛??跺????span class="part">)??-??绌烘??/span>涓???涓?涓??瀹??虹??娆℃??涓??虹???)锛???????涓??板?(d{8})??

    ?????′欢

    涓?骞哥??????????d釜琛ㄨ揪寮?涔??藉?归??010)12345678??(022-87654321杩??风????涓?姝g‘?????煎???瑕?瑙e?宠?涓????锛???浠???瑕??ㄥ??span class="name">?????′欢??姝e??琛ㄨ揪寮??????????′欢??????????绉?瑙???锛?濡???婊¤冻?朵腑浠绘??涓?绉?瑙????藉?璇ュ????归??锛??蜂??规?????span class="code">|??涓?????瑙???????寮?????????斤?娌″?崇郴锛???渚?瀛?锛?

    0d{2}-d{8}|0d{3}-d{7}杩?涓?〃杈惧???span class="desc">?归??涓ょ?浠ヨ?瀛??峰???????佃??风??锛?涓?绉????浣??哄?凤?8浣????板??濡?010-12345678)锛?涓?绉???浣??哄?凤?7浣????板??0376-2233445)??

    (?0d{2})?[- ]?d{8}|0d{2}[- ]?d{8}杩?涓?〃杈惧??归??3浣??哄?风???佃??风??锛??朵腑?哄?峰??互?ㄥ????锋??捣?ワ?涔???互涓?????哄?蜂????板?烽?村??互?ㄨ?瀛??锋??绌烘?奸?撮??锛?涔???互娌℃???撮????浣???互璇?璇??ㄥ?????′欢??杩?涓?〃杈惧??╁???涔?????4浣??哄?风????

    d{5}-d{4}|d{5}杩?涓?〃杈惧??ㄤ??归??缇??界?????跨?????缇??介?????瑙?????浣??板?锛??????ㄨ?瀛??烽?撮????9浣??板???涔???浠ヨ?缁??鸿?涓??瀛?????涓哄??借???涓?涓????锛?浣跨?ㄥ?????′欢?讹?瑕?娉ㄦ????涓??′欢??椤哄???濡???浣???瀹??规??d{5}|d{5}-d{4}??璇?锛??d?灏卞????归??5浣??????(浠ュ??9浣????????5浣?)?????????归???????′欢?讹?灏?浼?浠?宸﹀?板?冲?版?璇?姣?涓??′欢锛?濡???婊¤冻浜???涓???????璇?锛?灏变?浼??诲??绠″?跺????′欢浜???

    ??缁?

    ??浠?凡缁????颁???涔???澶???涓??绗︼??存?ュ?ㄥ?绗﹀???㈠??涓???瀹?绗﹀氨琛?浜?锛?锛?浣?濡????宠???澶?澶?涓??绗﹀??璇ユ??涔???锛?浣???互?ㄥ????锋?ユ??瀹?瀛?琛ㄨ揪寮?(涔???????缁?)锛??跺??浣?灏卞??互??瀹?杩?涓??琛ㄨ揪寮?????澶?娆℃?颁?锛?浣?涔???互瀵瑰?琛ㄨ揪寮?杩?琛??跺?涓?浜???浣?(???????浠?缁?)??

    (d{1,3}.){3}d{1,3}???涓?span class="desc">绠?????IP?板???归??琛ㄨ揪寮???瑕???瑙h?涓?〃杈惧?锛?璇锋??涓???椤哄?????瀹?锛?d{1,3}?归??1??浣????板?锛?(d{1,3}.){3}?归??涓?浣??板???涓?涓?涓??辨???ュ??杩?涓??翠?涔?灏辨???涓?span class="name">??缁?)??澶?3娆?/span>锛?????????涓?涓?涓???颁?浣????板?(d{1,3})??

    IP?板??涓??涓??板??戒??藉ぇ浜?255. 缁?甯告??浜洪????, 01.02.03.04 杩??峰???㈠甫??0???板?, ??????纭???IP?板???? 绛?妗??? ????, IP ?板???????板???互????????瀵 0 (leading zeroes).

    涓?骞哥?????瀹?涔?灏??归??256.300.888.999杩?绉?涓????藉??ㄧ??IP?板????濡????戒娇?ㄧ????杈???璇?锛???璁歌?界????拌В?宠?涓????锛?浣??????琛ㄨ揪寮?涓?苟涓???渚??充??板???浠讳????斤???浠ュ???戒娇?ㄥ???跨????缁?锛????╋?瀛?绗︾被?ユ??杩颁?涓??纭???IP?板??锛?((2[0-4]d|25[0-5]|[01]?dd?).){3}(2[0-4]d|25[0-5]|[01]?dd?)??

    ??瑙h?涓?〃杈惧????抽??????瑙?span class="part">2[0-4]d|25[0-5]|[01]?dd?锛?杩?????灏变?缁?璇翠?锛?浣???繁搴?璇ヨ?藉????寰??烘?ュ?????涔???

    ??涔?

    ???堕??瑕??ユ?句?灞?浜???涓??界???瀹?涔???瀛?绗︾被??瀛?绗︺??姣?濡??虫?ユ?鹃?や??板?浠ュ?锛??跺?浠绘??瀛?绗﹂?借??????碉?杩??堕??瑕??ㄥ??span class="name">??涔?锛?

    琛?.甯哥?ㄧ????涔?浠g??
    浠g??/璇?? 璇存??
    W ?归??浠绘??涓????姣?锛??板?锛?涓???绾匡?姹?瀛???瀛?绗?/span>
    S ?归??浠绘??涓???┖?界???瀛?绗?/span>
    D ?归??浠绘?????板???瀛?绗?/span>
    B ?归??涓?????璇?寮?澶存??缁?????浣?缃?/span>
    [^x] ?归???や?x浠ュ???浠绘??瀛?绗?/span>
    [^aeiou] ?归???や?aeiou杩???涓??姣?浠ュ???浠绘??瀛?绗?/span>

    渚?瀛?锛?S+?归??涓?????┖?界???瀛?绗︿覆??

    <a[^>]+>?归???ㄥ????锋??捣?ョ??浠?寮?澶寸??瀛?绗︿覆??

    ????寮???/h2>

    浣跨?ㄥ????锋??瀹?涓?涓??琛ㄨ揪寮???锛??归??杩?涓??琛ㄨ揪寮???????/strong>(涔?灏辨?????缁????风????瀹???互?ㄨ〃杈惧????跺?绋?搴?涓??杩?涓?姝ョ??澶?????榛?璁ゆ???典?锛?姣?涓???缁?浼????ㄦ?ユ??涓?涓?span class="name">缁???/span>锛?瑙??????浠?宸﹀???筹?浠ュ??缁???宸︽???蜂负??蹇?锛?绗??涓??虹?扮????缁???缁??蜂负1锛?绗??涓?负2锛?浠ユ?绫绘?ㄣ??

    ???︹?﹀?跺?,缁??峰????杩?涓???????璇村??d?绠???锛?

    • ??缁?0瀵瑰??翠釜姝e??琛ㄨ揪寮?
    • 瀹???涓?缁??峰????杩?绋????浠?宸﹀???虫????涓ら????锛?绗??????????藉??缁?????锛?绗????????藉??缁?????锛?锛???姝ゆ?????藉??缁???缁??烽?藉ぇ浜????藉????缁???/li>
    • 浣???互浣跨??span class="code">(?:exp)杩??风??璇???ュ?ュず涓?涓???缁?瀵圭??峰????????涓???锛?

    ????寮???/span>?ㄤ???澶???绱㈠???㈡??涓???缁??归??????????渚?濡?锛?1浠h〃??缁?1?归????????/span>???句互??瑙o?璇风??绀轰?锛?

    b(w+)bs+1b??互?ㄦ?ュ?归????澶?????璇?锛???go go, ????kitty kitty??杩?涓?〃杈惧?棣?????span class="desc">涓?涓???璇?锛?涔?灏辨??span class="desc">??璇?寮?濮?澶???缁???澶?涔??寸??澶?浜?涓?涓???瀛?姣????板?(b(w+)b)锛?杩?涓???璇?浼?琚????峰?扮??蜂负1????缁?涓???跺????span class="desc">1涓?????涓?┖?界?(s+)锛???????span class="desc">??缁?1涓????风????瀹癸?涔?灏辨?????㈠?归?????d釜??璇?锛?(1)??

    浣?涔???互??繁??瀹?瀛?琛ㄨ揪寮???缁?????瑕???瀹?涓?涓??琛ㄨ揪寮???缁???锛?璇蜂娇?ㄨ??风??璇??锛?(?<Word>w+)(??????灏????锋?㈡??'涔?琛?锛?(?'Word'w+)),杩??峰氨??w+??缁?????瀹?涓?span class="part">Word浜???瑕?????寮??ㄨ?涓???缁?????/span>????瀹癸?浣???互浣跨??span class="code">k<Word>,??浠ヤ?涓?涓??瀛?涔???互????杩??凤?b(?<Word>w+)bs+k<Word>b??

    浣跨?ㄥ????风???跺??锛?杩???寰?澶??瑰??ㄩ????璇????涓??㈠???轰???甯哥?ㄧ??涓?浜?锛?

    琛?.甯哥?ㄥ??缁?璇??
    ??绫?/th> 浠g??/璇?? 璇存??
    ????/th> (exp) ?归??exp,骞舵???锋?????拌???ㄥ?藉????缁???
    (?<name>exp) ?归??exp,骞舵???锋?????板??绉颁负name??缁???锛?涔???互????(?'name'exp)
    (?:exp) ?归??exp,涓????峰?归?????????涔?涓?缁?姝ゅ??缁?????缁???/span>
    ?跺???? (?=exp) ?归??exp???㈢??浣?缃?/span>
    (?<=exp) ?归??exp???㈢??浣?缃?/span>
    (?!exp) ?归?????㈣???涓???xp??浣?缃?/span>
    (?<!exp) ?归?????????xp??浣?缃?/span>
    娉ㄩ?? (?#comment) 杩?绉?绫诲??????缁?涓?瀵规???琛ㄨ揪寮???澶???浜х??浠讳?褰卞??锛??ㄤ???渚?娉ㄩ??璁╀汉??璇?/span>

    ??浠?凡缁?璁ㄨ?浜???涓ょ?璇????绗??涓?span class="code">(?:exp)涓?浼??瑰??姝e??琛ㄨ揪寮???澶????瑰?锛???????风??缁??归??????瀹?span class="desc">涓?浼?????涓ょ??f?疯????峰?版??涓???????涔?涓?浼??ユ??缁???/span>??????涓轰?涔?浼??宠?杩??峰??锛???????濂介???锛?浣?瑙?寰?涓轰?涔????

    ?跺????

    ?扮??浜猴???????寰?杩?浜??????绉板お澶???锛?澶??捐?浜?锛???涔??????????ラ????杩?涔?涓?绉?涓?瑗垮氨琛?浜?锛?瀹????涔?锛???瀹??诲?э?浜鸿?ユ????锛?渚垮???蹇?缁???锛??╄?ユ????锛?渚垮???????????︹??/p>

    ?ヤ??ョ????涓??ㄤ??ユ?惧?ㄦ??浜???瀹?浣?骞朵??????浜???瀹?涔?????涔?????涓?瑗匡?涔?灏辨???瀹?浠???b,^,$?f?风?ㄤ???瀹?涓?涓??缃??杩?涓??缃??璇ユ弧瓒充?瀹????′欢(?虫???)锛???姝ゅ?浠??琚?О涓?span class="name">?跺????????濂借????夸?瀛??ヨ????э?

    ????ㄦ?ュ0??涓?涓??璇ヤ负????浜?瀹???姝e??琛ㄨ揪寮?涓?????褰????涓虹???舵??浼?缁х画杩?琛??归????

    (?=exp)涔???span class="name">?跺?搴︽?棰?娴???琛????锛?瀹??????韩?虹?扮??浣?缃??????㈣?藉?归??琛ㄨ揪寮?exp??姣?濡?bw+(?=ingb)锛??归??浠?ng缁?灏剧????璇??????㈤?ㄥ??(?や?ing浠ュ????ㄥ??)锛?濡??ユ??span class="string">I'm singing while you're dancing.?讹?瀹?浼??归??sing??danc??

    (?<=exp)涔???span class="name">?跺?搴︽???椤惧???????锛?瀹??????韩?虹?扮??浣?缃??????㈣?藉?归??琛ㄨ揪寮?exp??姣?濡?(?<=bre)w+b浼??归??浠?e寮?澶寸????璇????????ㄥ??(?や?re浠ュ????ㄥ??)锛?渚?濡??ㄦ?ユ??span class="string">reading a book?讹?瀹??归??ading??

    ??濡?浣??宠?缁?涓?涓???跨???板?涓??涓?浣??村??涓?涓?????褰??舵????宠竟??璧蜂?)锛?浣???互杩??锋?ユ?鹃??瑕??ㄥ???㈠?????㈡坊?????风???ㄥ??锛?((?<=d)d{3})+b锛??ㄥ?瀵?span class="string">1234567890杩?琛??ユ?炬?剁?????span class="desc">234567890??

    涓??㈣?涓??瀛????朵娇?ㄤ?杩?涓ょ????锛?(?<=s)d+(?=s)?归??浠ョ┖?界??撮?????板?(??娆″己璋?锛?涓??????浜?绌虹?界?)??

    璐????跺????

    ???㈡??浠????拌???涔??ユ??strong>涓?????涓??绗︽??涓??ㄦ??涓??绗︾被????瀛?绗︾???规?(??涔?)??浣????????浠??????宠?纭????涓??绗︽病???虹?帮?浣?骞朵??冲?诲?归??瀹??舵??涔???锛?渚?濡?锛?濡?????浠??虫?ユ?捐??风????璇?--瀹????㈠?虹?颁?瀛?姣?q,浣??????㈣???涓????姣?u,??浠???互灏?璇?杩??凤?

    bw*q[^u]w*b?归??????strong>????????姣?u??瀛?姣?q????璇???浣??????澶???娴?璇?(????浣???缁磋冻澶?????锛??存?ュ氨瑙?瀵??烘?ヤ?)锛?浣?浼????帮?濡???q?虹?板?ㄥ??璇???缁?灏剧??璇?锛???Iraq,Benq锛?杩?涓?〃杈惧?灏变??洪????杩?????涓?span class="part">[^u]?昏??归??涓?涓??绗︼???浠ュ???q????璇???????涓?涓??绗︾??璇?锛????㈢??[^u]灏?浼??归??q???㈢????璇?????绗????芥??┖?硷????????ュ?锋???跺???浠?涔?)锛????㈢??w*b灏?浼??归??涓?涓?涓???璇?锛?浜???span class="regex">bw*q[^u]w*b灏辫?藉?归???翠釜Iraq fighting??璐????跺?????借В?宠??风?????锛???涓哄????归??涓?涓??缃??骞朵?娑?璐?/strong>浠讳?瀛?绗︺???板?????浠???互杩??锋?ヨВ?宠?涓????锛?bw*q(?!u)w*b??

    ?跺?搴﹁?棰?娴???琛????(?!exp)锛????姝や?缃?????????藉?归??琛ㄨ揪寮?exp??渚?濡?锛?d{3}(?!d)?归??涓?浣??板?锛???涓?杩?涓?浣??板?????????芥???板?锛?b((?!abc)w)+b?归??涓??????缁??绗︿覆abc????璇???

    ????锛???浠???互??span class="code">(?<!exp),?跺?搴﹁???椤惧?????????span class="desc">???姝や?缃?????????藉?归??琛ㄨ揪寮?exp锛?(?<![a-z])d{7}?归????????????瀛?姣???涓?浣??板???

    璇疯?缁?????琛ㄨ揪寮?(?<=<(w+)>).*(?=</1>)锛?杩?涓?〃杈惧????借〃?伴?跺????????姝g?ㄩ????

    涓?涓??村?????渚?瀛?锛?(?<=<(w+)>).*(?=</1>)?归??涓???????х??绠???HTML??绛惧????????瀹?/span>??(?<=<(w+)>)??瀹?浜?杩??风????缂?锛?琚?????锋??捣?ョ????璇?(姣?濡????芥??lt;b>)锛??跺????span class="part">.*(浠绘????瀛?绗︿覆),???????涓?span class="name">??缂?(?=</1>)??娉ㄦ????缂?????/锛?瀹??ㄥ?颁????㈡??杩???瀛?绗﹁浆涔?锛?1?????涓?????寮????寮??ㄧ??姝f??span class="desc">???风??绗??缁?锛????㈢??(w+)?归??????瀹癸?杩??峰?????缂?瀹???涓???lt;b>??璇?锛???缂?灏辨??lt;/b>浜????翠釜琛ㄨ揪寮??归??????lt;b>??</b>涔??寸????瀹???娆℃????锛?涓???????缂?????缂???韩)??

    娉ㄩ??

    灏????风???︿?绉??ㄩ??????杩?璇??(?#comment)?ュ????敞????渚?濡?锛?2[0-4]d(?#200-249)|25[0-5](?#250-255)|[01]?dd?(?#0-199)??

    瑕?????敞????璇?锛???濂芥?????ㄢ??蹇界?ユā寮?????绌虹?界?????椤癸?杩??峰?ㄧ???琛ㄨ揪寮??惰?戒换????娣诲??绌烘?硷?Tab锛??㈣?锛???瀹???浣跨?ㄦ?惰?浜??藉?琚?拷?ャ?????ㄨ?涓???椤瑰??锛??????㈠?拌?涓?琛?缁??????????????藉?琚????娉ㄩ??蹇界?ユ????渚?濡?锛???浠???互???㈢??涓?涓?〃杈惧?????杩??凤?

          (?<=    # ???瑕??归????????????缂?
          <(w+)> # ?ユ?惧????锋??捣?ョ??瀛?姣????板?(??TML/XML??绛?
          )       # ??缂?缁???
          .*      # ?归??浠绘?????
          (?=     # ???瑕??归????????????缂?
          </1>  # ?ユ?惧????锋??捣?ョ????瀹癸????㈡???涓?/"锛????㈡?????????风????绛
          )       # ??缂?缁???

    璐?┆涓?????/h2>

    褰?姝e??琛ㄨ揪寮?涓??????芥?ュ????澶?????瀹?绗︽?讹???甯哥??琛?涓烘????ㄤ娇?翠釜琛ㄨ揪寮??藉??板?归????????涓?锛??归??灏藉???藉???瀛?绗︺??浠ヨ?涓?〃杈惧?涓轰?锛?a.*b锛?瀹?灏?浼??归?????跨??浠?寮?濮?锛?浠?缁?????瀛?绗︿覆??濡????ㄥ??ユ??绱?span class="string">aabab??璇?锛?瀹?浼??归???翠釜瀛?绗︿覆aabab??杩?琚?О涓?span class="name">璐?┆?归????

    ???讹???浠??撮??瑕?????/span>?归??锛?涔?灏辨???归??灏藉???藉???瀛?绗︺?????㈢??虹????瀹?绗﹂?藉??互琚?浆??涓烘???板?归??妯″?锛?????ㄥ????㈠??涓?涓?涓?????span class="code">???杩???span class="regex">.*?灏辨???崇???归??浠绘???伴??????澶?锛?浣????ㄨ?戒娇?翠釜?归????????????涓?浣跨?ㄦ??灏?????澶????板?ㄧ???????扮????渚?瀛??э?

    a.*?b?归????????锛?浠?寮?濮?锛?浠?缁?????瀛?绗︿覆??濡?????瀹?搴??ㄤ?aabab??璇?锛?瀹?浼??归??aab锛?绗???扮?涓?涓??绗︼???ab锛?绗????扮?浜?涓??绗︼???

    涓轰?涔?绗??涓??归????ab锛?绗???扮?涓?涓??绗︼???涓???b锛?绗???扮?涓?涓??绗︼?锛?绠????拌?锛???涓烘???琛ㄨ揪寮????︿??¤???锛?姣????帮?璐?┆瑙?????浼???绾ф?撮?锛?????寮?濮????归???ユ????楂???浼?????????The match that begins earliest wins??

    琛?.???伴??瀹?绗?/caption>
    浠g??/璇?? 璇存??
    *? ??澶?浠绘??娆★?浣?灏藉???藉???澶?
    +? ??澶?1娆℃???村?娆★?浣?灏藉???藉???澶?
    ?? ??澶?0娆℃??1娆★?浣?灏藉???藉???澶?
    {n,m}? ??澶?n??娆★?浣?灏藉???藉???澶?
    {n,}? ??澶?n娆′互涓?锛?浣?灏藉???藉???澶?

    澶?????椤?/h2>

    ??#涓??浣???互浣跨??a rel="nofollow" href="http://msdn2.microsoft.com/zh-cn/library/h5845fdz.aspx" title="MSDN ?稿?虫??妗?>Regex(String, RegexOptions)?????芥??/a>?ヨ?缃????琛ㄨ揪寮???澶?????椤广??濡?锛?Regex regex = new Regex(@"baw{6}b", RegexOptions.IgnoreCase);

    涓????缁?浜???涓???椤瑰?蹇界?ュぇ灏???锛?澶???澶?琛?绛?锛?杩?浜???椤硅?界?ㄦ?ユ?瑰??澶???姝e??琛ㄨ揪寮????瑰???涓??㈡??Net涓?父?ㄧ??姝e??琛ㄨ揪寮???椤癸?

    琛?.甯哥?ㄧ??澶?????椤?/caption>
    ??绉?/th> 璇存??
    IgnoreCase(蹇界?ュぇ灏???) ?归???朵??哄??澶у?????
    Multiline(澶?琛?妯″?) ?存??span class="code">^??$?????锛?浣垮?浠??????ㄤ换??涓?琛???琛?棣???琛?灏惧?归??锛???涓?浠?浠??ㄦ?翠釜瀛?绗︿覆??寮?澶村??缁?灏惧?归????(?ㄦ?妯″?涓?,$??绮剧‘???????归??n涔?????浣?缃?互??瀛?绗︿覆缁???????浣?缃?)
    Singleline(??琛?妯″?) ?存??span class="code">.?????锛?浣垮?涓?姣?涓?涓??绗﹀?归??锛??????㈣?绗?n锛???
    IgnorePatternWhitespace(蹇界?ョ┖?? 蹇界?ヨ〃杈惧?涓?????杞??绌虹?藉苟???ㄧ??span class="code">#??璁扮??娉ㄩ????
    ExplicitCapture(?惧????? 浠????峰凡琚??惧??藉????缁???

    涓?涓??甯歌????扮????????????????藉???朵娇?ㄥ?琛?妯″?????琛?妯″?涓???涓?绉?锛?绛?妗????涓?????杩?涓や釜??椤逛??存病??浠讳??崇郴锛??や?瀹?浠?????瀛?姣?杈??镐技锛?浠ヨ?充?璁╀汉???扮????锛?浠ュ???

    骞宠 缁?/??褰??归??

    杩???浠?缁???骞宠 缁?璇??????Net Framework??????锛??跺?璇??锛?搴?涓?涓?瀹?????杩?绉????斤?????????姝ゅ???戒???瑕?浣跨?ㄤ?????璇????

    ???舵??浠???瑕??归????( 100 * ( 50 + 15 ) )杩??风?????濂???灞?娆℃?х???锛?杩??剁????颁娇??span class="code">(.+)??????归???版??宸﹁竟??宸︽???峰?????宠竟???虫???蜂??寸????瀹?杩?????浠??璁虹????椽濠?ā寮?锛????版ā寮?涔???涓??㈢?????)????濡????ョ??瀛?绗︿覆????宸︽???峰???虫???峰?虹?扮??娆℃?颁??哥?锛?姣?濡?( 5 / ( 3 + 2 ) ) )锛??f??浠????归??缁?????涓よ????涓??颁?涓?浼??哥?????娌℃????娉??ㄨ??风??瀛?绗︿覆???归???版???跨??锛???瀵圭?????蜂??寸????瀹瑰???

    涓轰??垮??(??(??浣???澶ц??褰诲???绯?娑?锛???浠?????ㄥ????蜂唬?垮?????峰?с???板?ㄦ??浠??????????浜?濡?浣???xx <aa <bbb> <bbb> aa> yy杩??风??瀛?绗︿覆??锛????跨????瀵圭??灏????峰??????瀹规???峰?烘?ワ?

    杩?????瑕??ㄥ?颁互涓???璇??????锛?

    • (?'group') ?????风????瀹瑰?藉??涓?roup,骞跺????span class="name">????(Stack)
    • (?'-group') 浠?????涓?寮瑰?烘???????ュ????????涓?roup?????峰??瀹癸?濡??????????ヤ负绌猴???????缁????归??澶辫触
    • (?(group)yes|no) 濡???????涓?瀛??ㄤ互??涓?roup?????峰??瀹圭??璇?锛?缁х画?归??yes?ㄥ????琛ㄨ揪寮?锛??﹀??缁х画?归??no?ㄥ??
    • (?!) ?跺?璐?????琛????锛??变?娌℃????缂?琛ㄨ揪寮?锛?璇??惧?归???绘??け璐?/li>

    濡???浣?涓????涓??搴???锛?????浣???О绋?搴???浣?????ラ?????????涔?涓?瑗匡?锛?浣?灏辫??风??瑙d??㈢??涓?绉?璇???э?绗??涓?氨???ㄩ??夸???涓?涓?group"锛?绗??涓?氨???榛??夸??︽??涓?涓?group"锛?绗??涓?氨????榛??夸?????杩???娌℃??"group"锛?濡?????灏辩户缁??归??yes?ㄥ??锛??﹀??灏卞?归??no?ㄥ????

    ??浠???瑕????????纰板?颁?宸︽???凤?灏卞?ㄥ???ヤ?涓?Open",姣?纰板?颁?涓??虫???凤?灏卞脊?轰?涓???颁?????灏辩???????????︿负绌猴?锛?濡???涓?涓虹┖?e氨璇???宸︽???锋??虫???峰?锛??e?归??灏卞?璇ュけ璐ャ??姝e??琛ㄨ揪寮?寮???浼?杩?琛???婧??惧??????㈡???????㈢??涓?浜?瀛?绗?锛?灏介??浣挎?翠釜琛ㄨ揪寮?寰??板?归????

    <                         #??澶?灞???宸︽???
        [^<>]*                #??澶?灞???宸︽???峰???㈢??涓??????风????瀹
        (
            (
                (?'Open'<)    #纰板?颁?宸︽???凤??ㄩ??夸???涓?涓?Open"
                [^<>]*       #?归??宸︽???峰???㈢??涓??????风????瀹
            )+
            (
                (?'-Open'>)   #纰板?颁??虫???凤??︽??涓?涓?Open"
                [^<>]*        #?归???虫???峰??????????风????瀹
            )+
        )*
        (?(Open)(?!))         #?ㄩ???版??澶?灞????虫???峰??????ゆ????夸?杩???娌℃??娌℃?︽????"Open"锛?濡???杩???锛????归??澶辫触
    
    >                         #??澶?灞????虫????/pre>
        

    骞宠 缁???涓?涓???甯歌???搴??ㄥ氨???归??HTML,涓??㈣?涓??瀛???互?归??宓?濂???<div>??绛?/span>锛?<div[^>]*>[^<>]*(((?'Open'<div[^>]*>)[^<>]*)+((?'-Open'</div>)[^<>]*)+)*(?(Open)(?!))</div>.

    杩???浜?浠?涔?涓?瑗挎病????/h2>

    涓?杈瑰凡缁???杩颁?????姝e??琛ㄨ揪寮???澶ч????绱?锛?浣??????寰?澶?娌℃?????扮??涓?瑗裤??涓??㈡???浜??????扮????绱?????琛???????娉???绠?????璇存????浣???互?ㄧ?涓??惧?版?磋?缁???????璧????ュ?涔?瀹?浠?-褰?浣???瑕??ㄥ?板?浠????跺????濡???浣?瀹?瑁?浜?MSDN Library,浣?涔???互?ㄩ???㈡?惧??net涓?姝e??琛ㄨ揪寮?璇︾?????妗c??杩?????浠?缁?寰?绠??ワ?濡???浣???瑕??磋?缁???淇℃???????娌℃???ㄧ?佃??涓?瀹?瑁?MSDN Library,??互?ョ???充?姝e??琛ㄨ揪寮?璇????绱???MSDN?ㄧ嚎??妗?/a>??

    琛?.灏????缁?璁ㄨ???璇??
    浠g??/璇?? 璇存??
    a ?ヨ?瀛?绗????板??????????佃????涓?澹?
    b ??甯告????璇?????浣?缃??浣?濡????ㄥ?绗︾被??浣跨?ㄤ唬琛ㄩ????/span>
    t ?惰〃绗︼?Tab
    r ??杞?/span>
    v 绔????惰〃绗?/span>
    f ?㈤〉绗?/span>
    n ?㈣?绗?/span>
    e Escape
    0nn ASCII浠g??涓?????朵唬??涓?n??瀛?绗?/span>
    xnn ASCII浠g??涓???????朵唬??涓?n??瀛?绗?/span>
    unnnn Unicode浠g??涓???????朵唬??涓?nnn??瀛?绗?/span>
    cN ASCII?у?跺?绗︺??姣?濡?cC浠h〃Ctrl+C
    A 瀛?绗︿覆寮?澶?绫讳技^锛?浣?涓???澶???澶?琛???椤圭??褰卞??)
    Z 瀛?绗︿覆缁?灏炬??琛?灏?涓???澶???澶?琛???椤圭??褰卞??)
    z 瀛?绗︿覆缁?灏?绫讳技$锛?浣?涓???澶???澶?琛???椤圭??褰卞??)
    G 褰?????绱㈢??寮?澶?/span>
    p{name} Unicode涓??藉??涓?ame??瀛?绗︾被锛?渚?濡?p{IsGreek}
    (?>exp) 璐?┆瀛?琛ㄨ揪寮?
    (?<x>-<y>exp) 骞宠 缁?
    (?im-nsx:exp) ?ㄥ?琛ㄨ揪寮?exp涓??瑰??澶?????椤?/span>
    (?im-nsx) 涓鸿〃杈惧????㈢???ㄥ???瑰??澶?????椤?/span>
    (?(exp)yes|no) ??exp褰?浣??跺?姝e????琛????锛?濡????ㄨ?涓??缃??藉?归??锛?浣跨??es浣?涓烘?缁???琛ㄨ揪寮?锛??﹀??浣跨??o
    (?(exp)yes) ??涓?锛?????娇?ㄧ┖琛ㄨ揪寮?浣?涓?o
    (?(name)yes|no) 濡????藉??涓?ame??缁????峰?颁???瀹癸?浣跨??es浣?涓鸿〃杈惧?锛??﹀??浣跨??o
    (?(name)yes) ??涓?锛?????娇?ㄧ┖琛ㄨ揪寮?浣?涓?o

    ??绯讳???

    濂藉?????胯?,??楠?浜?浣?,璇诲?拌???浣?????变?涓?姝?0????.?镐俊??,杩?????????,??涓?????涓轰?澶??.??涔???浠ヨ?"30????",??负浜?璁╀???淇″?,????蹇?缁х画涓????㈢?朵????颁?杩???,?h????????磋?????浜?.琚?拷??????瑙?寰??藉?э?