summaryrefslogtreecommitdiffstats
path: root/tools/fix-headers.tst
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fix-headers.tst')
-rw-r--r--tools/fix-headers.tst11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/fix-headers.tst b/tools/fix-headers.tst
new file mode 100644
index 0000000000..c47bba969b
--- /dev/null
+++ b/tools/fix-headers.tst
@@ -0,0 +1,11 @@
+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.
+