On 1/27/15 7:10 AM, Thierry Goubier wrote:
Hi Dale,
The wildcards on tags, are they available on branch names as well?
The wildcards are only applied to tags ... branch names are not expected
to look like version numbers with `.` and `-` separated "possibly
numeric" fields.
I wonder about the choice for ? and *, because:
- In RE(s), ? is 0 or 1 occurence, * is 0 or any number of occurences.
- In shells (bash?), ? is any one character, * is 0 or any number of
characters.
i.e. ? matches less than * in both cases. In Metacello, it is the
reverse: 1.0.? matches more labels than 1.0.*
I based my sytax on String>>match:. String>>match: uses `*` for "any
sequence of characters" and `#` for "any character" which is different
that RE and shell matching syntax ... `?` was unused so I picked it for
"match this and subsequent fields".
I'm open to suggestions for alternatives to the `?`:)
Dale