I'm using a regex to check the name of the files. Now the console from Intellij shows me this message:
False [] range "\w-" in regex; marked by <-- HERE in m/^deploy-file-\d+_[\w <-- HERE _.]+\d+.log$/ at ...
Code
elsif ($filename =~ m/^deploy-file-\d+_[\w-_.]+\d+\.log$/) {
print "$filename match with pattern\n";
}
I wanted to say that everything is working and the pattern works fine so far. My question is, why does intellij show me this message? What is the problem? And does it have any effects on the program?
My pattern also works on https://regex101.com/r/Lj2r4r/2