Skip to content

Commit b65ff69

Browse files
author
David Noble
committed
ABNF Correction
1 parent 8a27334 commit b65ff69

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

splunklib/searchcommands/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# coding=utf-8
21
# Copyright 2011-2013 Splunk, Inc.
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License"): you may
@@ -25,7 +24,7 @@
2524
option-name = alpha *( alpha / digit / "_" )
2625
option-value = word / quoted-string
2726
word = 1*( %01-%08 / %0B / %0C / %0E-1F / %21 / %23-%FF ) ; Any character but DQUOTE and WSP
28-
quoted-string = dquote *( word / wsp / "\" dquote ) dquote
27+
quoted-string = dquote *( word / wsp / "\" dquote / dquote dquote ) dquote
2928
field-name = ( "_" / alpha ) *( alpha / digit / "_" / "." / "-" )
3029
3130
**Note:**

splunklib/searchcommands/search_command_internals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class SearchCommandParser(object):
183183
option-name = alpha *( alpha / digit / "_" )
184184
option-value = word / quoted-string
185185
word = 1*( %01-%08 / %0B / %0C / %0E-1F / %21 / %23-%FF ) ; Any character but DQUOTE and WSP
186-
quoted-string = dquote *( word / wsp / "\" dquote ) dquote
186+
quoted-string = dquote *( word / wsp / "\" dquote / dquote dquote ) dquote
187187
field-name = ( "_" / alpha ) *( alpha / digit / "_" / "." / "-" )
188188
189189
**Note:**

0 commit comments

Comments
 (0)