Use regular expression to match excluded paths in filesystem footprinting.