Skip to content
Permalink
Browse files

Fixed regex.

  • Loading branch information...
jose committed Nov 19, 2018
1 parent ff197e5 commit 8eb59db74cd35413c60de93736486e648bcf8a14
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/util/rm_broken_tests.pl
@@ -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/\/\/.*/\/\//;
}

0 comments on commit 8eb59db

Please sign in to comment.
You can’t perform that action at this time.