Changed regex to avoid false positives
Merge pull request #10 from AlexDenisov/false_positive_path_check

Changed regex to avoid false positives