Add global flag to REGEX match (e.g. to match additionalImportPaths opti...

...on)