Skip to content

test/include/exclude regular expression path should be OS neutral #2553

Open
@panuhorsmalahti

Description

@panuhorsmalahti

The regular expression in the exclude property of a loader configuration can be used to exclude file paths, but the paths provided to the regular expressions are operating system dependent, e.g. on Windows the paths are in the form of "a\b\c" and on Unix-based operating systems "a/b/c". This makes writing correct regular expressions more difficult (and especially to test them).

My proposal is to always supply paths in the Unix style to the regular expression (e.g. "a/b/c"), and to document this clearly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions