Apply ag's regexp