MCPcopy Create free account

hub / github.com/dlclark/regexp2 / functions

Functions1,370 in github.com/dlclark/regexp2

FunctionBenchmarkMatchEasy0_32M
(b *testing.B)
regexp_performance_test.go:358
FunctionBenchmarkMatchEasy1_1K
(b *testing.B)
regexp_performance_test.go:360
FunctionBenchmarkMatchEasy1_1M
(b *testing.B)
regexp_performance_test.go:362
FunctionBenchmarkMatchEasy1_32
(b *testing.B)
regexp_performance_test.go:359
FunctionBenchmarkMatchEasy1_32K
(b *testing.B)
regexp_performance_test.go:361
FunctionBenchmarkMatchEasy1_32M
(b *testing.B)
regexp_performance_test.go:363
FunctionBenchmarkMatchHard1_1K
(b *testing.B)
regexp_performance_test.go:375
FunctionBenchmarkMatchHard1_1M
(b *testing.B)
regexp_performance_test.go:377
FunctionBenchmarkMatchHard1_32
(b *testing.B)
regexp_performance_test.go:374
FunctionBenchmarkMatchHard1_32K
(b *testing.B)
regexp_performance_test.go:376
FunctionBenchmarkMatchHard1_32M
(b *testing.B)
regexp_performance_test.go:378
FunctionBenchmarkMatchHard_1K
(b *testing.B)
regexp_performance_test.go:370
FunctionBenchmarkMatchHard_1M
(b *testing.B)
regexp_performance_test.go:372
FunctionBenchmarkMatchHard_32
(b *testing.B)
regexp_performance_test.go:369
FunctionBenchmarkMatchHard_32K
(b *testing.B)
regexp_performance_test.go:371
FunctionBenchmarkMatchHard_32M
(b *testing.B)
regexp_performance_test.go:373
FunctionBenchmarkMatchLeadingPrefixesRunes_32K
(b *testing.B)
regexp_performance_test.go:380
FunctionBenchmarkMatchMedium_1K
(b *testing.B)
regexp_performance_test.go:365
FunctionBenchmarkMatchMedium_1M
(b *testing.B)
regexp_performance_test.go:367
FunctionBenchmarkMatchMedium_32
(b *testing.B)
regexp_performance_test.go:364
FunctionBenchmarkMatchMedium_32K
(b *testing.B)
regexp_performance_test.go:366
FunctionBenchmarkMatchMedium_32M
(b *testing.B)
regexp_performance_test.go:368
FunctionBenchmarkMatchRunesLeadingLiteralMiss32K
(b *testing.B)
regexp_performance_test.go:483
FunctionBenchmarkMatchRunesLeadingSetMiss32K
(b *testing.B)
regexp_performance_test.go:495
FunctionBenchmarkMatchStringLeadingLiteralLateHit32K
(b *testing.B)
regexp_performance_test.go:446
FunctionBenchmarkMatchStringLeadingLiteralMiss32K
(b *testing.B)
regexp_performance_test.go:434
FunctionBenchmarkMatchStringLeadingSetMiss32K
(b *testing.B)
regexp_performance_test.go:422
FunctionBenchmarkMatchStringLeadingStringsMiss32K
(b *testing.B)
regexp_performance_test.go:471
FunctionBenchmarkNotLiteral
(b *testing.B)
regexp_performance_test.go:22
FunctionBenchmarkNotOnePassShortA
(b *testing.B)
regexp_performance_test.go:202
FunctionBenchmarkNotOnePassShortB
(b *testing.B)
regexp_performance_test.go:226
FunctionBenchmarkOnePassLongNotPrefix
(b *testing.B)
regexp_performance_test.go:250
FunctionBenchmarkOnePassLongPrefix
(b *testing.B)
regexp_performance_test.go:238
FunctionBenchmarkOnePassShortA
(b *testing.B)
regexp_performance_test.go:190
FunctionBenchmarkOnePassShortB
(b *testing.B)
regexp_performance_test.go:214
FunctionBenchmarkParserPrefixLongLen
(b *testing.B)
regexp_test.go:2323
FunctionBenchmarkPreparedSearch
These complement the catalog's string searches with rune inputs, where candidate scanning cannot be bypassed by the pre-decode string filter.
regexp_search_benchmark_test.go:185
FunctionBenchmarkQuickCaptureElision
(b *testing.B)
regexp_performance_test.go:410
FunctionBenchmarkRegexcmp
(b *testing.B)
regexcmp_benchmark_test.go:46
FunctionBenchmarkRequiredLandmarkFindNextMatch
(b *testing.B)
regexp_search_test.go:588
FunctionBenchmarkRequiredLandmarkLongWhitespaceCore
(b *testing.B)
regexp_search_test.go:613
FunctionBenchmarkRequiredLandmarkWhitespaceAlternatives
(b *testing.B)
regexp_search_test.go:564
FunctionBenchmarkSearchCaseInsensitive
(b *testing.B)
regexp_search_benchmark_test.go:33
FunctionBenchmarkSearchCompilePrefixes
Account for the cost of compiling and retaining the prefix search masks.
regexp_search_benchmark_test.go:164
FunctionBenchmarkSearchDNAPrefixes
These are the counting patterns from the Benchmarks Game regex-redux task. The deterministic DNA fixture exercises dense prefix candidates without req
regexp_search_benchmark_test.go:91
FunctionBenchmarkSearchFixedDistanceSets
Bounded character-class repetitions are also used by Rebar's subtitle benchmarks. This fixture is generated locally so the benchmark is standalone. ht
regexp_search_benchmark_test.go:63
FunctionBenchmarkSearchPrefixesSparse
(b *testing.B)
regexp_search_benchmark_test.go:138
FunctionBenchmarkShortSearch
(b *testing.B)
regexp_performance_test.go:538
FunctionBenchmarkSplitUnicodePrefix
(b *testing.B)
string_processing_benchmark_test.go:188
FunctionBenchmarkStringIndexPrefixesFilter
(b *testing.B)
stringprefixfilter_test.go:532
FunctionBenchmarkStringOperationsNoMatch
(b *testing.B)
string_processing_benchmark_test.go:52
FunctionBenchmarkStringProcessing
(b *testing.B)
string_processing_benchmark_test.go:112
FunctionBenchmarkUnicodeNewlineDispatch
(b *testing.B)
regexp_performance_test.go:285
FunctionCompile
Compile parses a regular expression and returns a compat adapter for it.
compat/regexp.go:23
MethodDump
()
syntax/optimizations.go:236
MethodDump
Dump returns the contents of the filter as a human readable string
syntax/prefix.go:596
MethodDump
()
syntax/tree.go:2263
MethodExecute
(r *Runner)
regexp_codegen_test.go:16
MethodFind
Find returns a slice holding the text of the leftmost match in b.
compat/regexp.go:73
MethodFindAll
FindAll returns a slice of all successive matches in b.
compat/regexp.go:178
MethodFindAllString
FindAllString returns a slice of all successive matches in s.
compat/regexp.go:206
MethodFindAllStringIndex
FindAllStringIndex returns a slice of byte index pairs identifying all successive matches in s.
regexp.go:314
MethodFindAllStringIndex
FindAllStringIndex returns a slice of byte index pairs for all successive matches in s.
compat/regexp.go:218
MethodFindAllStringSubmatch
FindAllStringSubmatch returns a slice of all successive matches and their submatches in s.
compat/regexp.go:251
MethodFindAllSubmatch
FindAllSubmatch returns a slice of all successive matches and their submatches in b.
compat/regexp.go:225
MethodFindFirstChar
(r *Runner)
regexp_codegen_test.go:13
MethodFindReaderIndex
FindReaderIndex returns a two-element slice defining the byte location of the leftmost match in text read from r.
compat/regexp.go:112
MethodFindReaderSubmatchIndex
FindReaderSubmatchIndex returns a slice holding the byte index pairs of the leftmost match and its submatches in text read from r.
compat/regexp.go:167
MethodFindStartingLiteral
()
syntax/tree.go:2441
MethodFindString
FindString returns a string holding the text of the leftmost match in s.
compat/regexp.go:92
MethodFindStringIndex
FindStringIndex returns a two-element slice defining the location of the leftmost match in s.
compat/regexp.go:102
MethodFindStringSubmatch
FindStringSubmatch returns a slice of strings holding the text of the leftmost match and its submatches.
compat/regexp.go:147
MethodFindSubmatch
FindSubmatch returns a slice of byte slices holding the text of the leftmost match and its submatches.
compat/regexp.go:124
FunctionFuzz
Fuzz is the input point for go-fuzz
syntax/fuzz.go:7
FunctionFuzzFindAllStringIndexByteOffsets
(f *testing.F)
string_processing_test.go:11
FunctionFuzzIndexStringIgnoreCaseASCII
(f *testing.F)
helpers/indexof_ignorecase_test.go:88
MethodIndexOfAnyExcept
return the first index of anything except our original vals values within the slice given
helpers/searchvalues.go:50
MethodIndexOfAnyExcept
(chars []rune)
helpers/searchvalues.go:109
FunctionIndexOfAnyExcept1
(in []rune, bad rune)
helpers/indexof.go:98
FunctionIndexOfAnyExcept2
(in []rune, bad1, bad2 rune)
helpers/indexof.go:107
FunctionIndexOfAnyExcept3
(in []rune, bad1, bad2, bad3 rune)
helpers/indexof.go:117
FunctionIsBetween
(val rune, first, last rune)
helpers/runes.go:8
FunctionIsInMask64
(ch rune, mask uint64)
helpers/runes.go:47
MethodIsMatched
(cap int)
runner.go:2702
MethodIsUnicodeCategoryOfSmallCharCount
Gets whether the specified set is a named set with a reasonably small count of Unicode characters. Designed to help the regexp code generator choose a
syntax/charclass.go:1435
FunctionIsWordChar
According to UTS#18 Unicode Regular Expressions (http://www.unicode.org/reports/tr18/) RL 1.4 Simple Word Boundaries The class of <word_character> in
helpers/runes.go:22
MethodLastIndexOfAny
(chars []rune)
helpers/searchvalues.go:113
MethodLastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:80
MethodLastIndexOfAnyExcept
(chars []rune)
helpers/searchvalues.go:125
FunctionLastIndexOfAnyExcept1
(in []rune, not rune)
helpers/indexof.go:180
FunctionLastIndexOfAnyInRange
(in []rune, first, last rune)
helpers/indexof.go:196
MethodLastIndexOfRune
(startIndex int, endIndex int, find rune)
runner.go:2613
MethodLess
(i, j int)
syntax/charclass.go:921
MethodMarshalText
MarshalText implements [encoding.TextMarshaler]. The output matches that of calling the [Regexp.String] method.
regexp.go:640
MethodMatch
Match reports whether the byte slice b contains any match of the regular expression.
compat/regexp.go:52
MethodMatchIndex
(cap int)
runner.go:2708
MethodMatchLength
(cap int)
runner.go:2705
MethodMatchReader
MatchReader reports whether text returned by r contains any match of the regular expression.
compat/regexp.go:64
FunctionMax
(a, b int)
helpers/math.go:10
FunctionMin
(a, b int)
helpers/math.go:3
← previousnext →801–900 of 1,370, ranked by callers