Back to if/else structure in order to use regex
Make linkify function more generic, move to module pattern for GES