我写了一个正则表达式以匹配 locale =“ en” 到 date slot =“ 164” ,但是我的正则表达式没有匹配多个新行。请指教。
正则表达式
<case id="1" casebase="1" name="K" locale="en" >
<string slot="157"><value>1asw</value></string><enum slot="12"><value id="1" name="Incomplete" /></enum><integer slot="9963"><value>2</value>
</integer><string slot="9960"><value>
07/12/18 16:51 a created with status Incomplete by a <br/>
</value></string><string slot="9961"><value>awd</value></string><string slot="160"><value>awd</value></string><date slot="161"><value>2018-07-12T20:51:34</value>
</date><date slot="164"><value>2018-07-12T20:51:34</value>
</date></case>
匹配字符串
127.0.0.1 - - [29/Jul/2019:14:51:20 +0000] "GET / HTTP/1.1" 200 883
127.0.0.1 - - [29/Jul/2019:14:51:25 +0000] "GET / HTTP/1.1" 200 883
127.0.0.1 - - [29/Jul/2019:14:51:31 +0000] "GET / HTTP/1.1" 200 883
127.0.0.1 - - [29/Jul/2019:14:51:37 +0000] "GET / HTTP/1.1" 200 883
[Mon Jul 29 14:51:44.042754 2019] [mpm_event:notice] [pid 1:tid 139803211808072] AH00491: caught SIGTERM, shutting down