diff options
Diffstat (limited to 'reconfigure/parsers/bind9.py')
-rw-r--r-- | reconfigure/parsers/bind9.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/reconfigure/parsers/bind9.py b/reconfigure/parsers/bind9.py index d5c8e01..123a799 100644 --- a/reconfigure/parsers/bind9.py +++ b/reconfigure/parsers/bind9.py @@ -9,7 +9,8 @@ class BIND9Parser (NginxParser): tokens = [ (r"[\w_]+\s*?.*?{", lambda s, t: ('section_start', t)), - (r"[\w\d_:]+?.*?;", lambda s, t: ('option', t)), + (r"[\w\d_:.]+?.*?;", lambda s, t: ('option', t)), + (r"\".*?\"\s*;", lambda s, t: ('option', t)), (r"\s", lambda s, t: 'whitespace'), (r"$^", lambda s, t: 'newline'), (r"\#.*?\n", lambda s, t: ('comment', t)), |