Fixed bug with null regex in filename parsing

Tested with both filenames and ranges with default actions.