常用正则样例
192.168.0.2 192.168.0.1 - - [22/Dec/2017:14:57:09 +0800] "GET /testWS/aaa/getLyricURL?aa=123 HTTP/1.0"
200 185 "-" "Apache-HttpClient/4.5 (Java/1.8.0_60)" "asasas" 0 h2
^\D*([\d., ]+) (\S+) (\S+) \[([\w\d:/]+)\s[+\-]\d{4}\] "(.+?)" (\d{3}) ([\d\-]+) "([^"]+)" "([^"]+)"\s*\S* \d (\S+)
猜你喜欢
转载自michael-ldd2008.iteye.com/blog/2415249
今日推荐
周排行