We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764ce22 commit 04f1542Copy full SHA for 04f1542
src/tools/msvc/VCBuildProject.pm
@@ -71,7 +71,7 @@ EOF
71
foreach my $fileNameWithPath (sort keys %{ $self->{files} })
72
{
73
confess "Bad format filename '$fileNameWithPath'\n"
74
- unless ($fileNameWithPath =~ /^(.*)\\([^\\]+)\.(c|cpp|y|l|rc)$/);
+ unless ($fileNameWithPath =~ m!^(.*)/([^/]+)\.(c|cpp|y|l|rc)$!);
75
my $dir = $1;
76
my $file = $2;
77
0 commit comments