crash.software
Projects
Pull Requests
Issues
Builds
fzf
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
fzf
Files
🤬
Sign In
master
ROOT
/
src
/
pattern.go
Search
History
428 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
termType
termFuzzy
:
termType
termExact
termPrefix
termSuffix
termEqual
term
typ
:
termType
inv
:
bool
text
:
[]rune
caseSensitive
:
bool
normalize
:
bool
String
()
:
string
termSet
Pattern
fuzzy
:
bool
fuzzyAlgo
:
algo.Algo
extended
:
bool
caseSensitive
:
bool
normalize
:
bool
forward
:
bool
withPos
:
bool
text
:
[]rune
termSets
:
[]termSet
sortable
:
bool
cacheable
:
bool
cacheKey
:
string
delimiter
:
Delimiter
nth
:
[]Range
procFun
:
map[termType]algo.Algo
_patternCache
:
map[string]*Pattern
_splitRegex
:
*regexp.Regexp
_cache
:
ChunkCache
init
()
clearPatternCache
()
clearChunkCache
()
BuildPattern
(fuzzy bool, fuzzyAlgo algo.Algo, extended bool, caseMode Case, normalize bool, forward bool, withPos bool, cacheable bool, nth []Range, delimiter Delimiter, runes []rune)
:
*Pattern
parseTerms
(fuzzy bool, caseMode Case, normalize bool, str string)
:
[]termSet
*Pattern
IsEmpty
()
:
bool
AsString
()
:
string
buildCacheKey
()
:
string
CacheKey
()
:
string
Match
(chunk *Chunk, slab *util.Slab)
:
[]Result
matchChunk
(chunk *Chunk, space []Result, slab *util.Slab)
:
[]Result
MatchItem
(item *Item, withPos bool, slab *util.Slab)
:
(*Result, []Offset, *[]int)
basicMatch
(item *Item, withPos bool, slab *util.Slab)
:
(Offset, int, *[]int)
extendedMatch
(item *Item, withPos bool, slab *util.Slab)
:
([]Offset, int, *[]int)
transformInput
(item *Item)
:
[]Token
iter
(pfun algo.Algo, tokens []Token, caseSensitive bool, normalize bool, forward bool, pattern []rune, withPos bool, slab *util.Slab)
:
(Offset, int, *[]int)
All occurrences
Please wait...
Page is in error, reload to recover