fix bug: support search pattern start with *