Comment Comment by nicholaides It converts your regexp into a virtual filesystem and then you can test if a string matches the regexp by converting the string into a path and testing if that path is contained in the filesystem. parent nicholaides 6 years ago