On 09/21/2010 03:43 PM, Magnus Hagander wrote:
>
> Hmm. Hold on.
>
> My gitignore manpage doesn't say anything about supporting regular
> expressions at all. And actually adding the line proposed by Peter
> doesn't work.
>
> What works is adding all of:
> *.so
> *.so.[0-9]
> *.so.[0-9].[0-9]
>
> That will break if there's a two-digit number, i guess. Do we want to
> go with that anyway?
>
They are shell globs. You could just add more patterns for the two digit
cases if you care about it. It would be four more patterns for .so*
cheers
andrew