mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Zero isn't a positive integer :)
This commit is contained in:
parent
12fb34989a
commit
e62536a614
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ NUMBER (?:%{BASE10NUM})
|
||||||
BASE16NUM (?<![0-9A-Fa-f])(?:[+-]?(?:0x)?(?:[0-9A-Fa-f]+))
|
BASE16NUM (?<![0-9A-Fa-f])(?:[+-]?(?:0x)?(?:[0-9A-Fa-f]+))
|
||||||
BASE16FLOAT \b(?<![0-9A-Fa-f.])(?:[+-]?(?:0x)?(?:(?:[0-9A-Fa-f]+(?:\.[0-9A-Fa-f]*)?)|(?:\.[0-9A-Fa-f]+)))\b
|
BASE16FLOAT \b(?<![0-9A-Fa-f.])(?:[+-]?(?:0x)?(?:(?:[0-9A-Fa-f]+(?:\.[0-9A-Fa-f]*)?)|(?:\.[0-9A-Fa-f]+)))\b
|
||||||
|
|
||||||
POSINT \b(?:[0-9]+)\b
|
POSINT \b(?:[1-9][0-9]*)\b
|
||||||
WORD \b\w+\b
|
WORD \b\w+\b
|
||||||
NOTSPACE \S+
|
NOTSPACE \S+
|
||||||
SPACE \s*
|
SPACE \s*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue