We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5206c0f commit ea2ed7dCopy full SHA for ea2ed7d
validate_ini.py
@@ -58,7 +58,7 @@
58
sys.exit(4)
59
60
__author__ = 'Hari Sekhon'
61
-__version__ = '0.12.2'
+__version__ = '0.12.3'
62
63
64
class IniValidatorTool(CLI):
@@ -72,7 +72,7 @@ def __init__(self):
72
self.re_suffix = re.compile(r'.*\.(?:ini|properties)$', re.I)
73
# In Windows ini key cannot contain equals sign = or semicolon ;
74
# key=val or [section]
75
- self.re_ini_section = re.compile(r'^\s*\[([\w=\:\.-]+)\]\s*$')
+ self.re_ini_section = re.compile(r'^\s*\[([\w\s=\:\.-]+)\]\s*$')
76
self.re_ini_key = re.compile(r'^\s*(?:[^\[;=]+)s*$')
77
# INI value can be anything .* so not regex'ing it
78
self.valid_ini_msg = '<unknown> => INI OK'
0 commit comments