From: Paolo Bonzini Date: Wed, 28 Feb 2007 14:55:11 GMT Subject: Re: git-remote and remotes with '.' in their names Message-ID: <45E597CF.9000009@lu.unisi.ch> In-Reply-To: <87k5y5tlol.fsf@briny.internal.ondioline.org> Hello, > for (@remotes) { > - if (/^remote\.([^.]*)\.(\S*)\s+(.*)$/) { > + if (/^remote\.(.*)\.(\S*)\s+(.*)$/) { You probably want either + if (/^remote\.(\S*)\.(\S*)\s+(.*)$/) { or + if (/^remote\.(\S*)\.([^.]*)\s+(.*)$/) { here. Paolo