modified grep regexp