Module broot::pattern[][src]

Structs

Candidate

something which we can be evaluated by a pattern to produce either a score or a more precise match

CompositePattern

A pattern composing other ones with operators

ContentExactPattern

A pattern for searching in file content

ContentRegexPattern

A regex for searching in file content

ExactPattern

A pattern for exact matching

FuzzyPattern

A pattern for fuzzy matching

InputPattern

wraps both

NameMatch

A NameMatch is a positive result of pattern matching inside a filename or subpath

PatternObject

on what the search applies (a composite pattern may apply to several topic hence the bools)

PatternParts

An intermediate parsed representation of the raw string

RegexPattern
SearchModeMap

manage how to find the search mode to apply to a pattern taking the config in account.

SearchModeMapEntry

define a mapping from a search mode which can be typed in the input to a SearchMode value

Enums

Pattern

a pattern for filtering and sorting files.

PatternOperator

operators combining patterns

SearchKind

how to search

SearchMode

a valid combination of SearchObject and SearchKind, determine how a pattern will be used

SearchObject

where to search

Statics

SEARCH_MODES

Functions

build_regex

Type Definitions

Pos

a vector of indexes of the matching characters (not bytes)