MCPcopy Create free account
hub / github.com/ElementsProject/elements / compile_copyright_regex

Function compile_copyright_regex

contrib/devtools/copyright_header.py:92–93  ·  view source on GitHub ↗
(copyright_style, year_style, name)

Source from the content-addressed store, hash-verified

90ANY_COPYRIGHT_COMPILED = re.compile(ANY_COPYRIGHT_STYLE_OR_YEAR_STYLE)
91
92def compile_copyright_regex(copyright_style, year_style, name):
93 return re.compile(r'%s %s,? %s( +\*)?\n' % (copyright_style, year_style, name))
94
95EXPECTED_HOLDER_NAMES = [
96 r"Satoshi Nakamoto",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected