1# properties file of the fossology Copyright agent 2# Copyright Siemens AG 2015, maximilian.huber@tngtech.com 3# 4# Copying and distribution of this file, with or without modification, 5# are permitted in any medium without royalty provided the copyright 6# notice and this notice are preserved. This file is offered as-is, 7# without any warranty. 8# 9# Description: this file holds the regex configurations for the Copyright agent 10url=(?:(:?ht|f)tps?\:\/\/[^\s\<]+[^\<\.\,\s]) 11EMAILPART=[\w\-\.\+]{1,100} 12TLD=[a-zA-Z]{2,12} 13email=[\<\(]?(__EMAILPART__@__EMAILPART__\.__TLD__)[\>\)]? 14website=(?:http|https|ftp)\://[a-zA-Z0-9\-\.]+\.__TLD__(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,'/\\+&%\$#\=~])*[^\.\,\)\(\s] 15#' <-- to solve syntax highlighting problems in some editors 16SPACES=[\t ]+ 17SPACESALL=[[:space:]]* 18PUNCT_OR_SPACE=[[:punct:][:space:]] 19ALPHA=[:alpha:]\xc0-\xd6\xd9-\xf6\xf8-\xff 20NAME_OR_COMPANY=(?:[__ALPHA__]+|__email__|__website__) 21NAMESLIST=__NAME_OR_COMPANY__(?:[\-, &]+__NAME_OR_COMPANY__)* 22# DATE=((19|20)[[:digit:]]{2,2}|[[:digit:]]{1,2}) 23# DATESLIST=__DATE__(([[:punct:][:space:]-]+)__DATE__)* 24author=(?:(?:author|contributor|maintainer)s?) 25author=__author__|(?:(?:written|contribut(?:ed|ions?)|maintained|modifi(?:ed|cations?)|put__SPACES__together)__SPACES__by) 26author=(?:__author__)[:]? 27author=__author____SPACESALL____NAMESLIST__\.? 28author=__author__|(?<=<author>)(.*?)(?=<\/author>) 29# 30COPYSYM=(?:\(c\)|©|\xA9|\xC2\xA9|\$\xB8|\xE2\x92\xB8|\$\xD2|\xE2\x93\x92|\$\x9E|\xE2\x92\x9E) 31REG_COPYRIGHT=copyright(?:ed|s)?[[:space:]:]*|__COPYSYM__[ \t]+([[:alnum:] ][^\0]{0,2}){5,} 32REG_EXCEPTION=\bcopyrights?(?:[ \t/\\\*\+#"\.-]+)(?:licen[cs]es?|notices?|holders?|and|statements?|owners?)[ \t\.,][^\0]* 33REG_NON_BLANK=.*(?:[[:alpha:]][[:alpha:]]|[[:digit:]][[:digit:]]).* 34REG_SIMPLE_COPYRIGHT=\bcopyright\b|__COPYSYM__ 35