Change bug in Routing

Please to also add sql to create the table, have not checked the ones in comments, since I have created my table manually
Merge remote-tracking branch 'origin/pr/1276' into hotfix/1276
[#1276] Fix regex (needed grouping)
Merge branch 'hotfix/1276'

Close #1276