Help us shape the future of Go! Take the 2026 Go Developer Survey

matchutil

package
v3.7.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package matchutil provides optimized string matching utilities for the query engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsUpper

func ContainsUpper(line, substr []byte) bool

ContainsUpper checks if line contains substr using case-insensitive comparison. substr MUST already be uppercased by the caller.

Implementation ported from pkg/logql/log/filter.go:containsLower

func EqualUpper

func EqualUpper(line, match []byte) bool

EqualUpper checks if line equals match using case-insensitive comparison. match MUST already be uppercased by the caller.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL