/name-of-file_the literal text /name-of-file_ (case sensitive) .*any character (except for line terminators), repeated any number of times
-the literal - (4510 / 558 / 2D16)
\Kresets the starting point of the reported match. Any previously consumed characters are no longer included in the final match
\d+a digit, repeated at least once
Non-Capturing Group(?:\.\d+)+ +repeats the group contents below at least once:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string