add check for optional \l flag in hyperlink regex