From: Graham Knop Date: Fri, 30 Jan 2015 10:01:36 +0000 (-0500) Subject: include dir sep in regex in docs X-Git-Tag: v1.005006~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b2a026b524da714c056d0e69022cfa9a2df468f;p=p5sagit%2Fstrictures.git include dir sep in regex in docs --- diff --git a/lib/strictures.pm b/lib/strictures.pm index b7e96e1..4bad910 100644 --- a/lib/strictures.pm +++ b/lib/strictures.pm @@ -107,7 +107,7 @@ is equivalent to except when called from a file which matches: - (caller)[1] =~ /^(?:t|xt|lib|blib)/ + (caller)[1] =~ /^(?:t|xt|lib|blib)[\\\/]/ and when either C<.git>, C<.svn>, or C<.hg> is present in the current directory (with the intention of only forcing extra tests on the author side) -- or when C<.git>,