lib/grok-pure.rb in jls-grok-0.10.11 vs lib/grok-pure.rb in jls-grok-0.10.12
- old
+ new
@@ -21,10 +21,10 @@
PATTERN_RE = \
/%\{ # match '%{' not prefixed with '\'
(?<name> # match the pattern name
(?<pattern>[A-z0-9]+)
- (?::(?<subname>[A-z0-9_:.-]+))?
+ (?::(?<subname>[@\[\]A-z0-9_:.-]+))?
)
(?:=(?<definition>
(?:
(?:[^{}\\]+|\\.+)+
|