Skip to content

Commit

Permalink
Fixed regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
jose committed Nov 22, 2018
1 parent ff197e5 commit 8eb59db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/util/rm_broken_tests.pl
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ sub _remove_test_method {
foreach (@tmp) {
# This captures String literals -- accounting for escaped quotes
# (\") and non-escaped quotes (" and \\")
s/([\"'])(?:(?<!\\)\\\1|.)*?\1/$1$1/g;
s/([\"'])(?:\\(\\\\)*\1|.)*?\1/$1$1/g;
s/\/\/.*/\/\//;
}

Expand Down

0 comments on commit 8eb59db

Please sign in to comment.