fix horse regexp