Registry / utility / binaryregexp

binaryregexp

JSON →
library0.2.0gogounverified

Provides regular expression search on binary data with linear-time guarantees.

go get rsc.io/binaryregexp
INSTALL
IMPORT
SIG · BINARYREGEXP
B
binaryregexp
utilitygov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

binaryregexp
rsc.io/binaryregexp

Compiles and matches a regex against binary data.

package main import ( "fmt" "rsc.io/binaryregexp" ) func main() { re := binaryregexp.MustCompile("hello") fmt.Println(re.Match([]byte("hello world"))) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
binaryregexp — go get binaryregexp · libregistry