Fix regexp when creating titan configuration keys