regexp

command
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Regexp example

Shows how to use WithFilterFunc and WithSearchFunc to match rows against a regular expression instead of the default substring matching, caching the compiled pattern so it isn't rebuilt on every row on every keystroke.

Filtering a log table by ^(ERROR|WARN)$ isolates those levels exactly, and searching for \b[45]\d\d\b jumps between rows mentioning a 4xx/5xx status code — both patterns that plain substring or fuzzy matching can't express.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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