Skip to content
Snippets Groups Projects
Commit 09b35c47 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki Committed by Dennis Terhorst
Browse files

also match double quotes

parent 6ed4ae4e
No related branches found
No related tags found
No related merge requests found
Pipeline #26869 failed with stage
in 3 seconds
......@@ -35,7 +35,7 @@ class Rewriter:
def __init__(self, installpath=None, viewpath=None):
self._installpath = installpath
self._viewpath = viewpath
self._export_re = re.compile(r"^export (?P<key>\w+)='?(?P<value>.*?)'?;?\n")
self._export_re = re.compile(r"^export (?P<key>\w+)=['\"]?(?P<value>.*?)['\"]?;\n")
self._package_re = re.compile(r"(?P<package>\w[^/]+)-(?P<hash>[0-9a-z]{32})/(?P<relative>.*)")
@property
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment