gitweb: Use capturing parentheses only when you intend to capture
commite8bb4b38dfcbd5ff02ceb5e925d53c1460887df5
authorJakub Narebski <jnareb@gmail.com>
Mon, 11 May 2009 17:39:43 +0000 (11 19:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2009 17:34:11 +0000 (13 10:34 -0700)
treef3606bb784bee2b00bdac46d5155d07603f798b5
parent3278fbc5ce39e0f7bf095ce99912dccbc347b4d7
gitweb: Use capturing parentheses only when you intend to capture

Non-capturing groups are useful because they have better runtime
performance and do not copy strings to the magic global capture
variables.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl