You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support escaping in .stignore files on Windows #10057
enhancementNew features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
As something that could be introduced in Syncthing v2, I would like to suggest improving ignore patterns handling on Windows by changing how \ is treated. This is a breaking change, but basically, \ would be used as an escape character (as is the case in other operating systems), and if one wanted to use it as a path separator, they would need to escape it as \. Using double \ isn’t new in the Windows world, as path separators already need to be escaped like that, e.g. in the Registry.
This change would allow Windows users to escape other characters in ignore patterns, like { or [, which isn’t possible right now, as \ is treated literally.
enhancementNew features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
ProactiveServices commentedon Apr 13, 2025
Related: #7547
feat(ignore): Add .stignore escaping on Windows
feat(ignore): Add .stignore escaping on Windows
feat(ignore): Add .stignore escaping on Windows
feat(ignore): Add .stignore escaping on Windows
feat(ignore): Add .stignore escaping on Windows
feat(ignore): add .stignore escaping on Windows (#10205)