Skip to content

ParseFile issues on Windows #15

@AgnesToulet

Description

@AgnesToulet

Hello!

I noticed some issues running this library on Windows. Using os.PathSeparator here converts this path /test/public into this regexp "\\Atest\\public\\.*\\z" and this makes the regexp.Compile function return this error:

error parsing regexp: invalid character class range: `\pu`

This specific issue can be fixed by always using / as a separator but I don't know if it introduces errors in other functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions