Added support for filtering images by regexp