Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dlclark/regexp2
/ functions
Functions
1,370 in github.com/dlclark/regexp2
⨍
Functions
1,370
◇
Types & classes
96
Function
BenchmarkMatchEasy0_32M
(b *testing.B)
regexp_performance_test.go:358
Function
BenchmarkMatchEasy1_1K
(b *testing.B)
regexp_performance_test.go:360
Function
BenchmarkMatchEasy1_1M
(b *testing.B)
regexp_performance_test.go:362
Function
BenchmarkMatchEasy1_32
(b *testing.B)
regexp_performance_test.go:359
Function
BenchmarkMatchEasy1_32K
(b *testing.B)
regexp_performance_test.go:361
Function
BenchmarkMatchEasy1_32M
(b *testing.B)
regexp_performance_test.go:363
Function
BenchmarkMatchHard1_1K
(b *testing.B)
regexp_performance_test.go:375
Function
BenchmarkMatchHard1_1M
(b *testing.B)
regexp_performance_test.go:377
Function
BenchmarkMatchHard1_32
(b *testing.B)
regexp_performance_test.go:374
Function
BenchmarkMatchHard1_32K
(b *testing.B)
regexp_performance_test.go:376
Function
BenchmarkMatchHard1_32M
(b *testing.B)
regexp_performance_test.go:378
Function
BenchmarkMatchHard_1K
(b *testing.B)
regexp_performance_test.go:370
Function
BenchmarkMatchHard_1M
(b *testing.B)
regexp_performance_test.go:372
Function
BenchmarkMatchHard_32
(b *testing.B)
regexp_performance_test.go:369
Function
BenchmarkMatchHard_32K
(b *testing.B)
regexp_performance_test.go:371
Function
BenchmarkMatchHard_32M
(b *testing.B)
regexp_performance_test.go:373
Function
BenchmarkMatchLeadingPrefixesRunes_32K
(b *testing.B)
regexp_performance_test.go:380
Function
BenchmarkMatchMedium_1K
(b *testing.B)
regexp_performance_test.go:365
Function
BenchmarkMatchMedium_1M
(b *testing.B)
regexp_performance_test.go:367
Function
BenchmarkMatchMedium_32
(b *testing.B)
regexp_performance_test.go:364
Function
BenchmarkMatchMedium_32K
(b *testing.B)
regexp_performance_test.go:366
Function
BenchmarkMatchMedium_32M
(b *testing.B)
regexp_performance_test.go:368
Function
BenchmarkMatchRunesLeadingLiteralMiss32K
(b *testing.B)
regexp_performance_test.go:483
Function
BenchmarkMatchRunesLeadingSetMiss32K
(b *testing.B)
regexp_performance_test.go:495
Function
BenchmarkMatchStringLeadingLiteralLateHit32K
(b *testing.B)
regexp_performance_test.go:446
Function
BenchmarkMatchStringLeadingLiteralMiss32K
(b *testing.B)
regexp_performance_test.go:434
Function
BenchmarkMatchStringLeadingSetMiss32K
(b *testing.B)
regexp_performance_test.go:422
Function
BenchmarkMatchStringLeadingStringsMiss32K
(b *testing.B)
regexp_performance_test.go:471
Function
BenchmarkNotLiteral
(b *testing.B)
regexp_performance_test.go:22
Function
BenchmarkNotOnePassShortA
(b *testing.B)
regexp_performance_test.go:202
Function
BenchmarkNotOnePassShortB
(b *testing.B)
regexp_performance_test.go:226
Function
BenchmarkOnePassLongNotPrefix
(b *testing.B)
regexp_performance_test.go:250
Function
BenchmarkOnePassLongPrefix
(b *testing.B)
regexp_performance_test.go:238
Function
BenchmarkOnePassShortA
(b *testing.B)
regexp_performance_test.go:190
Function
BenchmarkOnePassShortB
(b *testing.B)
regexp_performance_test.go:214
Function
BenchmarkParserPrefixLongLen
(b *testing.B)
regexp_test.go:2323
Function
BenchmarkPreparedSearch
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
Function
BenchmarkQuickCaptureElision
(b *testing.B)
regexp_performance_test.go:410
Function
BenchmarkRegexcmp
(b *testing.B)
regexcmp_benchmark_test.go:46
Function
BenchmarkRequiredLandmarkFindNextMatch
(b *testing.B)
regexp_search_test.go:588
Function
BenchmarkRequiredLandmarkLongWhitespaceCore
(b *testing.B)
regexp_search_test.go:613
Function
BenchmarkRequiredLandmarkWhitespaceAlternatives
(b *testing.B)
regexp_search_test.go:564
Function
BenchmarkSearchCaseInsensitive
(b *testing.B)
regexp_search_benchmark_test.go:33
Function
BenchmarkSearchCompilePrefixes
Account for the cost of compiling and retaining the prefix search masks.
regexp_search_benchmark_test.go:164
Function
BenchmarkSearchDNAPrefixes
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
Function
BenchmarkSearchFixedDistanceSets
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
Function
BenchmarkSearchPrefixesSparse
(b *testing.B)
regexp_search_benchmark_test.go:138
Function
BenchmarkShortSearch
(b *testing.B)
regexp_performance_test.go:538
Function
BenchmarkSplitUnicodePrefix
(b *testing.B)
string_processing_benchmark_test.go:188
Function
BenchmarkStringIndexPrefixesFilter
(b *testing.B)
stringprefixfilter_test.go:532
Function
BenchmarkStringOperationsNoMatch
(b *testing.B)
string_processing_benchmark_test.go:52
Function
BenchmarkStringProcessing
(b *testing.B)
string_processing_benchmark_test.go:112
Function
BenchmarkUnicodeNewlineDispatch
(b *testing.B)
regexp_performance_test.go:285
Function
Compile
Compile parses a regular expression and returns a compat adapter for it.
compat/regexp.go:23
Method
Dump
()
syntax/optimizations.go:236
Method
Dump
Dump returns the contents of the filter as a human readable string
syntax/prefix.go:596
Method
Dump
()
syntax/tree.go:2263
Method
Execute
(r *Runner)
regexp_codegen_test.go:16
Method
Find
Find returns a slice holding the text of the leftmost match in b.
compat/regexp.go:73
Method
FindAll
FindAll returns a slice of all successive matches in b.
compat/regexp.go:178
Method
FindAllString
FindAllString returns a slice of all successive matches in s.
compat/regexp.go:206
Method
FindAllStringIndex
FindAllStringIndex returns a slice of byte index pairs identifying all successive matches in s.
regexp.go:314
Method
FindAllStringIndex
FindAllStringIndex returns a slice of byte index pairs for all successive matches in s.
compat/regexp.go:218
Method
FindAllStringSubmatch
FindAllStringSubmatch returns a slice of all successive matches and their submatches in s.
compat/regexp.go:251
Method
FindAllSubmatch
FindAllSubmatch returns a slice of all successive matches and their submatches in b.
compat/regexp.go:225
Method
FindFirstChar
(r *Runner)
regexp_codegen_test.go:13
Method
FindReaderIndex
FindReaderIndex returns a two-element slice defining the byte location of the leftmost match in text read from r.
compat/regexp.go:112
Method
FindReaderSubmatchIndex
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
Method
FindStartingLiteral
()
syntax/tree.go:2441
Method
FindString
FindString returns a string holding the text of the leftmost match in s.
compat/regexp.go:92
Method
FindStringIndex
FindStringIndex returns a two-element slice defining the location of the leftmost match in s.
compat/regexp.go:102
Method
FindStringSubmatch
FindStringSubmatch returns a slice of strings holding the text of the leftmost match and its submatches.
compat/regexp.go:147
Method
FindSubmatch
FindSubmatch returns a slice of byte slices holding the text of the leftmost match and its submatches.
compat/regexp.go:124
Function
Fuzz
Fuzz is the input point for go-fuzz
syntax/fuzz.go:7
Function
FuzzFindAllStringIndexByteOffsets
(f *testing.F)
string_processing_test.go:11
Function
FuzzIndexStringIgnoreCaseASCII
(f *testing.F)
helpers/indexof_ignorecase_test.go:88
Method
IndexOfAnyExcept
return the first index of anything except our original vals values within the slice given
helpers/searchvalues.go:50
Method
IndexOfAnyExcept
(chars []rune)
helpers/searchvalues.go:109
Function
IndexOfAnyExcept1
(in []rune, bad rune)
helpers/indexof.go:98
Function
IndexOfAnyExcept2
(in []rune, bad1, bad2 rune)
helpers/indexof.go:107
Function
IndexOfAnyExcept3
(in []rune, bad1, bad2, bad3 rune)
helpers/indexof.go:117
Function
IsBetween
(val rune, first, last rune)
helpers/runes.go:8
Function
IsInMask64
(ch rune, mask uint64)
helpers/runes.go:47
Method
IsMatched
(cap int)
runner.go:2702
Method
IsUnicodeCategoryOfSmallCharCount
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
Function
IsWordChar
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
Method
LastIndexOfAny
(chars []rune)
helpers/searchvalues.go:113
Method
LastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:80
Method
LastIndexOfAnyExcept
(chars []rune)
helpers/searchvalues.go:125
Function
LastIndexOfAnyExcept1
(in []rune, not rune)
helpers/indexof.go:180
Function
LastIndexOfAnyInRange
(in []rune, first, last rune)
helpers/indexof.go:196
Method
LastIndexOfRune
(startIndex int, endIndex int, find rune)
runner.go:2613
Method
Less
(i, j int)
syntax/charclass.go:921
Method
MarshalText
MarshalText implements [encoding.TextMarshaler]. The output matches that of calling the [Regexp.String] method.
regexp.go:640
Method
Match
Match reports whether the byte slice b contains any match of the regular expression.
compat/regexp.go:52
Method
MatchIndex
(cap int)
runner.go:2708
Method
MatchLength
(cap int)
runner.go:2705
Method
MatchReader
MatchReader reports whether text returned by r contains any match of the regular expression.
compat/regexp.go:64
Function
Max
(a, b int)
helpers/math.go:10
Function
Min
(a, b int)
helpers/math.go:3
← previous
next →
801–900 of 1,370, ranked by callers