[memsearch] add regexp match in memsearch example