exclude spaces from link matching