diff options
author | Thore Bödecker <me@foxxx0.de> | 2022-06-26 22:44:25 +0200 |
---|---|---|
committer | Thore Bödecker <me@foxxx0.de> | 2022-06-26 22:44:25 +0200 |
commit | f674aa966ba72c14e95e9b82e55ec97ebded7c89 (patch) | |
tree | 145653b94ec644bc0f1061be441bf2666e9e742a | |
parent | 6a3a8d6246ccfbf903ccabf48f9209309fea2905 (diff) |
allow single quote as quote char too
-rwxr-xr-x | fb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -423,7 +423,7 @@ class ConfigConstraint(): class ConfigParser: - MATCHER = re.compile('^(?P<key>[^=]+)=(?P<quotechar>"?)(?P<value>.+)(?P=quotechar)$') + MATCHER = re.compile('^(?P<key>[^=]+)=(?P<quotechar>[\'"]?)(?P<value>.+)(?P=quotechar)$') CONSTRAINTS = { 'clipboard_target': ConfigConstraint('clipboard_target', 'enum', ('none', 'off', 'default', 'primary', 'clipboard')) |