logstash-plugins / logstash-patterns-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grok-patterns MONTHNUM (?:0?[1-9]|1[0-2]) 如果是10,11,12就会匹配出错,这样匹配出来的是1

dongfeng676 opened this issue · comments

Feeding this into Google Translate I get "If it is 10,11,12 will match the wrong, so that the match is out" and I don't understand that either. @zhangmingju, please rewrite the issue in English.

grok-patterns MONTHNUM (?:0?[1-9]|1[0-2]) ,If it is 10, 11, 12, it will match the error. The result of this match is 1