Rename internal regex functions (#1446)

This commit is contained in:
John Kerl 2023-12-17 12:46:28 -05:00 committed by GitHub
parent b5dbd7a751
commit 1ae670fd4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 395 additions and 258 deletions

View file

@ -43,8 +43,8 @@ func NewEmptyState(options *cli.TOptions, strictMode bool) *State {
// OutputRecordsAndContexts is assigned after construction
// See lib.MakeEmptyRegexCaptures for context.
RegexCaptures: lib.MakeEmptyRegexCaptures(),
// See lib.MakeEmptyCaptures for context.
RegexCaptures: lib.MakeEmptyCaptures(),
Options: options,
StrictMode: strictMode,
@ -57,5 +57,5 @@ func (state *State) Update(
) {
state.Inrec = inrec
state.Context = context
state.RegexCaptures = lib.MakeEmptyRegexCaptures()
state.RegexCaptures = lib.MakeEmptyCaptures()
}