^([[:alpha:]] {3} + [[:digit:]] {1,2} + [[:digit:]] {1,2}:[[:digit:] ] {1,2}: [[:digit:]] {1,2})+([^] +) - ([[:digit:]] +) - ([[ :alnum:]] +)\\ [([[:digit:]] +)\\] +([^] +)(+(([^] + )\\(([[:digit:]] *)\\)))?:(。*)\\ n?That might be true. Still regexp inspite of being very long should bevery straightforward.Here is the regexp (I would understand if noone would read it):^([[:alpha:]]{3} +[[:digit:]]{1,2} +[[:digit:]]{1,2}:[[:digit:]]{1,2}:[[:digit:]]{1,2}) +([^ ]+)-([[:digit:]]+)-([[:alnum:]]+)\\[([[:digit:]]+)\\] +([^ ]+)( +(([^ ]+)\\(([[:digit:]]*)\\)))?: (.*)\\n? 这篇关于标准C库正则表达式性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的..
09-08 12:42