do we need a regexp here? Isn't an indexOf better ? (agreed that's not really a hot path tho, but we don't even need to create the regexp everytime)