Opened 11 years ago

Closed 11 years ago

#450 closed enhancement (fixed)

allow globs in path pattern matching

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: minor Milestone: svndigest 0.8
Component: core Version: trunk
Keywords: Cc:

Description

The pattern matching algorithm for paths used here is quite limited; it doesn't understand ? or [abc].

Why not use fnmatch included in C-standard which would extend the pattern matching to what is expected.

Change History (5)

comment:1 Changed 11 years ago by Peter Johansson

Milestone: svndigest 0.x+svndigest 0.8
Owner: changed from Jari Häkkinen to Peter Johansson
Status: newassigned

comment:2 Changed 11 years ago by Peter Johansson

(In [1052]) refs #450. using fnmatch in codon fil name pattern match.

comment:3 Changed 11 years ago by Peter Johansson

(In [1053]) refs #450. leftover from r1052

comment:4 Changed 11 years ago by Peter Johansson

(In [1054]) refs #450. more leftover from r1052 (forgot to save file)

comment:5 Changed 11 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [1098]) closes #450. extend filename matching tp allow [xyz] and ?. Also fixed a bug when having asterisk (*) in end of pattern string

Note: See TracTickets for help on using tickets.