mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Previously, regex-matching paths on windows would, in some cases, require four
backslashes ('\\\\') to escape a single path separator. That's just too much.
With this commit, regex transforms now use '/' instead of '\' as path separator,
meaning rules can more easily be shared between platforms (although they are not
guaranteed to be 100% compatible since on Windows, '\' is still recognized as a
path separator).
To make rules more intuitive to write, local relative paths are now also printed
with '/' as path separator on Windows. Since Windows also accepts '/' as path
separator, this change doesn't really affect other rules that parse their sides
as paths.
|
||
|---|---|---|
| .. | ||
| auth | ||
| cli | ||
| crawl | ||
| __init__.py | ||
| __main__.py | ||
| config.py | ||
| deduplicator.py | ||
| limiter.py | ||
| logging.py | ||
| output_dir.py | ||
| pferd.py | ||
| report.py | ||
| transformer.py | ||
| utils.py | ||
| version.py | ||