Files
kyle 9444a35322 p1: /v2/scrape, /v1/fetch, auth, CLI, contract tests
Single Fetcher.Fetch on the Guard that holds DenyPrefixes. skipTlsVerification
is ignored. No 502. keys add writes the secret only to --out. Release binary
has no -test-allow-prefix.
2026-09-22 21:54:01 -07:00

20 lines
491 B
ReasonML

/*!include:re2c "base.re" */
// Original pattern: (?i)byline|author|dateline|writtenby|p-author
func IsByline(input string) bool {
var cursor, marker int
input += string(rune(0)) // add terminating null
limit := len(input) - 1 // limit points at the terminating null
_ = marker
for { /*!use:re2c:base_template
re2c:case-insensitive = 1;
byline = byline|author|dateline|writtenby|p-author;
{byline} { return true }
* { continue }
$ { return false }
*/
}
}