Don't regex match unicode if the passed text is not unicode