Skip to content

Commit f8e0099

Browse files
briandefSuyog Rao
authored andcommitted
Add tilde to UNIXPATH
Tilde '~' is a valid character in UNIXPATHs. Closes #1195
1 parent 925ce92 commit f8e0099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/grok-patterns

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ HOSTPORT %{IPORHOST}:%{POSINT}
3131

3232
# paths
3333
PATH (?:%{UNIXPATH}|%{WINPATH})
34-
UNIXPATH (?>/(?>[\w_%!$@:.,-]+|\\.)*)+
34+
UNIXPATH (?>/(?>[\w_%!$@:.,~-]+|\\.)*)+
3535
TTY (?:/dev/(pts|tty([pq])?)(\w+)?/?(?:[0-9]+))
3636
WINPATH (?>[A-Za-z]+:|\\)(?:\\[^\\?*]*)+
3737
URIPROTO [A-Za-z]+(\+[A-Za-z+]+)?

0 commit comments

Comments
 (0)