Skip to content

Commit

Permalink
Merge pull request dictation-toolbox#28 from wolfmanstout/comma
Browse files Browse the repository at this point in the history
Added comma to list of allowed symbols in a command.
  • Loading branch information
drmfinlay authored Sep 18, 2018
2 parents 4d1a112 + 5ebe711 commit 70db7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dragonfly/grammar/elements_compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class _Literal(parser_.Sequence):
def __init__(self):
# Use a pattern to allow ascii and Unicode alphanumeric characters plus a
# few special characters.
pattern = re.compile(r"[\w_\-.']", re.UNICODE)
pattern = re.compile(r"[\w_\-.',]", re.UNICODE)
word = parser_.CharacterSeries(None, pattern=pattern)
whitespace = parser_.Whitespace()
elements = (
Expand Down

0 comments on commit 70db7de

Please sign in to comment.