Added regex filtering.