]> Lady’s Gitweb - Gitweb/commit
gitweb: Use capturing parentheses only when you intend to capture
authorJakub Narebski <redacted>
Mon, 11 May 2009 17:39:43 +0000 (19:39 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
commit23edf6c6b83a0c58c8e13da33d389a70264eb18a91173ae019ed59548fc19277
tree9b7f915fdd71a022cfb74f6bc039685f0bbbf5af6465d5a69fcebdaa5f583999
parent89accaa1d71aed65e9a918849af1e8d6c148c2c0ee18a66e359db7e5a6f4ef7f
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.197333 seconds and 4 git commands to generate.