DO NOT REPLY [Bug 5759] New: filter rules: no wildcards match emptystrings - Tools

This is a discussion on DO NOT REPLY [Bug 5759] New: filter rules: no wildcards match emptystrings - Tools ; 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 ( ’*’, ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: DO NOT REPLY [Bug 5759] New: filter rules: no wildcards match emptystrings

  1. DO NOT REPLY [Bug 5759] New: filter rules: no wildcards match emptystrings

    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.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


  2. DO NOT REPLY [Bug 5759] filter rules: no wildcards match emptystrings

    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.
    --
    Please use reply-all for most replies to avoid omitting the mailing list.
    To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
    Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


+ Reply to Thread