Permalink
Browse files

fix IO::Spec::Win32 warn due to ?-quantifier

  • Loading branch information...
labster committed May 5, 2013
1 parent 5ad46fd commit 1b7852a45c9b47d229f2a4ac0c77536a1306c7a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/IO/Spec/Win32.pm
@@ -168,7 +168,7 @@ my class IO::Spec::Win32 is IO::Spec::Unix {
$first ~~ /^ ([ <$driveletter> <$slash>?
| <$UNCpath>
| [<$slash> ** 2] <$notslash>+
- | <$slash> ])?
+ | <$slash> ]?)
(.*)
/;
my $volume = ~$volumematch[0];

0 comments on commit 1b7852a

Please sign in to comment.