regex:file_path
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
regex:file_path [2021/05/20 10:32] – peter | regex:file_path [2021/05/20 10:32] (current) – peter | ||
---|---|---|---|
Line 8: | Line 8: | ||
- | |||
- | ===== Windows ===== | ||
- | |||
- | <code bash> | ||
- | (\\\\([a-z|A-Z|0-9|-|_|\s]{2, | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | ^((?: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | <code bash> | ||
- | ^[a-zA-Z]: | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | * **< | ||
- | |||
- | * **< | ||
- | |||
- | * **< | ||
- | |||
- | * **< | ||
- | |||
- | All of that is is repeated 0 to many times, with the last backslash optional. | ||
- | |||
- | For many use cases it may be best to restrict the path length to 256 characters. | ||
- | |||
- | * To do so, replace < | ||
- | </ | ||
regex/file_path.1621506734.txt.gz · Last modified: 2021/05/20 10:32 by peter