Moved ignore check in own function.
Added history entry for regex filter.