The regexp for matching reserved names didn't start with ^
, which means file names with matching substrings triggered it. A file named icon.gif
shouldn't trigger an error just because con
is in the name. The fix prevents such false positives.
The regexp for matching reserved names didn't start with ^
, which means file names with matching substrings triggered it. A file named icon.gif
shouldn't trigger an error just because con
is in the name. The fix prevents such false positives.