纯java实现的git操作库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
496 B

regex without named back references
m/.*Copyright \(c\) ((\d{4})\s*[,-]\s*(\d{4})?)\,?(([^\r\<\>\,]*)(\<.*\>)?)\s*/i
* Copyright (c) 2008, Example Company Inc.
* Copyright (c) 2008, Joe Developer <joe.dev@example.org>
* Copyright (c) 2008, 2009 Joe Developer <joe.dev@example.org>
* Copyright (c) 2005-2009 Joe Developer <joe.dev@example.org>
* Copyright (c) 2008, 2009 Other Examples Inc.
* Copyright (c) 2008-2010 Example Company Inc.
* Copyright (C) 2009-2010, Yet More Examples Ltd.