samba-bugs@samba.org
2008-Sep-14 13:42 UTC
DO NOT REPLY [Bug 5759] New: filter rules: no wildcards match empty strings
https://bugzilla.samba.org/show_bug.cgi?id=5759 Summary: filter rules: no wildcards match empty strings Product: rsync Version: 3.0.3 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: dieter@plaetinck.be QAContact: rsync-qa@samba.org when filtering with pattern rules, all wildcards ( ’*’, ’?’, and ’[’ ) expect at least one character. So there doesn't seem to be a way to match 'foo', 'foobar' and not match 'fo'. ('foo*','foo**','foo?','foo[a-z]' match foobar but not foo) Regexes have the pattern modifier '*' for this, shell globbing expands '*' to any string (including empty ones), but this does not seem to be possible with rsync rules syntax. PS: this bug is somewhat related to https://bugzilla.samba.org/show_bug.cgi?id=5758 -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2008-Sep-15 02:50 UTC
DO NOT REPLY [Bug 5759] filter rules: no wildcards match empty strings
https://bugzilla.samba.org/show_bug.cgi?id=5759 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #1 from wayned@samba.org 2008-09-14 21:50 CST ------- "*" matches 0 or more characters, as does "**". -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
Seemingly Similar Threads
- DO NOT REPLY [Bug 5758] New: '**' does not match empty strings
- DO NOT REPLY [Bug 5388] New: wildcards and rsync 3.01+
- DO NOT REPLY [Bug 5043] New: Qualified non-inherited filter rules may be ignored
- [Bug 2491] New: x11-ssh-askpass (ssh-add) sets incorrect flags in WM_SIZE_HINTS
- DO NOT REPLY [Bug 6251] New: security: rsync executes remote commands