support regexp in filter

fix #1