Re: [PATCHv2] gitweb: Better regexp for SHA-1 committag match
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Feb 7, 2009, 14:01 UTC
- Message-ID
- <200902071501.34312.jnareb@gmail.com>
- In-Reply-To
- <200902061149.16210.jnareb@gmail.com>
Dnia piątek 6. lutego 2009 11:49, Jakub Narebski napisał:
> + if ($line =~ m/\b([0-9a-fA-F]{8,40})\b(!?\@)/) {+ if ($line =~ m/\b([0-9a-fA-F]{8,40})\b(?!\@)/) {Not that it matters, because adding such single-case exceptions is not a good idea, so it is v1 which would be (I hope) in git.
-- Jakub Narebski Poland