MCPcopy Create free account

hub / github.com/dlclark/regexp2 / types & classes

Types & classes72 in github.com/dlclark/regexp2

↓ 9 callersFuncTypecompileOptionFunc
func(*compileConfig)
options.go:76
↓ 5 callersTypeAliasInstOp
similar to prog.go in the go regex package...also with comment 'may not belong in this package' File provides operator constants for use by the Builde
syntax/code.go:23
↓ 4 callersTypeAliasRegexOptions
syntax/parser.go:12
↓ 4 callersTypeAliasfasttime
fasttime holds a time value (ticks since clock initialization)
fastclock.go:10
↓ 1 callersTypeAliasAnchorLoc
syntax/prefix.go:768
↓ 1 callersTypeAliasNodeType
syntax/tree.go:70
↓ 1 callersTypeAliassingleRangeSorter
syntax/charclass.go:806
StructAsciiSearchValues
helpers/searchvalues.go:10
StructBmPrefix
BmPrefix precomputes the Boyer-Moore tables for fast string scanning. These tables allow you to scan for the first occurrence of a string within a lar
syntax/prefix.go:401
StructCapture
Capture is a single capture of text within the larger original string
match.go:44
StructCategory
syntax/charclass.go:29
StructCharClassAnalysisResults
syntax/charclass.go:1423
StructCharSet
CharSet combines start-end rune ranges and unicode categories representing a set of characters
syntax/charclass.go:15
StructCode
syntax/code.go:104
InterfaceCompileOption
CompileOption configures Compile and MustCompile.
options.go:64
StructError
An Error describes a failure to parse a regular expression and gives the offending expression.
syntax/parser.go:52
TypeAliasErrorCode
An ErrorCode describes a failure to parse a regular expression.
syntax/parser.go:66
TypeAliasFindNextStartingPositionMode
syntax/optimizations.go:109
StructFindOptimizations
syntax/optimizations.go:10
StructFixedDistanceLiteral
syntax/optimizations.go:48
StructFixedDistanceSet
syntax/optimizations.go:40
StructGroup
Group is an explicit or implit (group 0) matched group within the pattern
match.go:36
StructLiteralAfterLoop
syntax/optimizations.go:31
StructMatch
Match is a single regex result match that contains groups and repeated captures -Groups -Capture
match.go:13
FuncTypeMatchEvaluator
MatchEvaluator is a function that takes a match and returns a replacement string to be used
replace.go:19
InterfaceMatcher
Matcher is the common matching interface implemented by regexp.Regexp and this package's Regexp adapter. It includes the standard-library matching su
compat/interface.go:13
StructOptimizationOptions
OptimizationOptions controls runtime limits, optional caches, and compile-time fast paths. For MaxBacktrackingStackSize, negative values allow unboun
options.go:47
StructParseOptions
syntax/parser.go:146
StructPrefix
syntax/prefix.go:11
StructRegexNode
It is built into a parsed tree for a regular expression. Implementation notes: Since the node tree is a temporary data structure only used during com
syntax/tree.go:58
TypeAliasRegexOptions
RegexOptions impact the runtime and parsing behavior for each specific regex. They are setable in code as well as in the regex pattern itself.
options.go:20
StructRegexTree
syntax/tree.go:17
StructRegexp
Regexp is the representation of a compiled regular expression. A Regexp is safe for concurrent use by multiple goroutines.
regexp.go:34
StructRegexp
Regexp adapts a regexp2.Regexp to the matching method signatures of regexp.Regexp. The wrapped regexp2 engine can return match-time errors, most comm
compat/regexp.go:18
StructReplacerData
syntax/replacerdata.go:8
StructRequiredLandmark
syntax/optimizations.go:67
StructRequiredLandmarkAlternative
syntax/optimizations.go:74
StructRequiredLandmarkChain
syntax/optimizations.go:54
StructRuneSearchValues
helpers/searchvalues.go:77
StructRunner
runner.go:17
StructRuntimeEngineData
regexp_codegen.go:7
StructSingleRange
syntax/charclass.go:34
StructStartingLiteral
syntax/tree.go:2291
FuncTypeStringPrefixFilter
StringPrefixFilter optionally searches string input before the engine decodes it to runes. It returns a byte index for a candidate match start, or ok=
stringprefixfilter.go:23
StructStringSearchValues
helpers/searchvalues.go:115
StructasciiBitmap
syntax/charclass.go:25
StructasciiSetStringScanner
stringprefixfilter.go:62
StructasciiStringSetPrefixFilter
stringprefixfilter.go:214
StructatomicTime
fastclock.go:138
Structbenchmark
regexp_performance_test.go:382
InterfacebyteRanger
regexp_test.go:256
StructcacheKey
regexp_codegen.go:18
StructcompileConfig
options.go:68
Structd
regexp_test.go:289
StructemptyEngine
regexp_codegen_test.go:7
Structfastclock
fastclock provides a fast clock implementation. A background goroutine periodically stores the current time into an atomic variable. A deadline can
fastclock.go:24
StructlcMap
syntax/charclass.go:983
StructmatchRange
regexp_test.go:1848
StructmatchText
match.go:54
Structparser
syntax/parser.go:116
StructpooledSliceBuffers
bufferpool.go:9
StructregexFc
syntax/prefix.go:259
StructregexFcd
syntax/prefix.go:32
StructregexcmpCase
regexcmp_benchmark_test.go:18
StructreplacerDataCache
regexp.go:691
StructreplacerDataCacheEntry
regexp.go:698
StructrequiredLandmarkMatch
runner.go:1766
StructrustRegexCorpusTest
regexp_corpus_rust_test.go:40
StructrustRegexMatch
regexp_corpus_rust_test.go:51
StructstringByteMapper
regexp.go:400
Structtest262ExecCase
Test262 has hundreds of RegExp tests under test/built-ins/RegExp. These tables intentionally distill pattern-level scenarios that map to regexp2's API
regexp_ecma_test.go:24
Structwriter
syntax/writer.go:38