Getting a list of file names

I can maybe be wrong but did you put the regex inside a string? In Julia regexes are strings prefixed by r, see the relevant section of the manual.

3 Likes