Fix legacy regex
Merge pull request #644 from Connexions/fix-legacy-regex

Fix legacy regex