Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSearcher ¶ added in v0.1.6
func NewSearcher() *searcher
func NormalizePattern ¶ added in v0.10.0
NormalizePattern returns the given pattern if it's a valid regex, otherwise it escapes all speical regex characters.
Types ¶
type Address ¶
type Address struct { // The index of the event Index int // The byte offset at which (after parsing) the match either appeared // or disappeared Offset int }
Address refers to a point inside of a recording.
type Appearance ¶ added in v0.1.6
type SearchResult ¶
type SearchResult struct {
// The location of the result in time
Begin, End Address
// The location of the result on the screen
Appearances []Appearance
}
Click to show internal directories.
Click to hide internal directories.