remove hard-coded regex filtering in nail