added regex filtering