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
TestECMAIgnoreCaseCharacterFolding
(t *testing.T)
regexp_ecma_test.go:731
Function
TestECMAIgnoreCaseNonWord
(t *testing.T)
regexp_ecma_test.go:679
Function
TestECMAInvalidEscape
(t *testing.T)
regexp_test.go:1627
Function
TestECMAInvalidEscapeCharClass
(t *testing.T)
regexp_test.go:1947
Function
TestECMALegacyClassRanges
(t *testing.T)
regexp_ecma_test.go:790
Function
TestECMALegacyEscapeCaptures
(t *testing.T)
regexp_ecma_escapes_test.go:102
Function
TestECMALegacyEscapeErrors
(t *testing.T)
regexp_ecma_escapes_test.go:129
Function
TestECMALegacyEscapeIgnoreCase
(t *testing.T)
regexp_ecma_escapes_test.go:89
Function
TestECMALegacyEscapes
These cases specify ECMA-262 Annex B.1.2's non-Unicode escape grammar. https://tc39.es/ecma262/#sec-regular-expressions-patterns
regexp_ecma_escapes_test.go:13
Function
TestECMANamedGroup
(t *testing.T)
regexp_test.go:1643
Function
TestECMANamedGroupNumberAssignment
(t *testing.T)
regexp_test.go:1856
Function
TestECMANegateRange
(t *testing.T)
regexp_test.go:2040
Function
TestECMAOctal
(t *testing.T)
regexp_test.go:1597
Function
TestECMAQuantifiedAssertion
(t *testing.T)
regexp_test.go:1788
Function
TestECMAQuantifiedCaptureBackreference
(t *testing.T)
regexp_ecma_test.go:1473
Function
TestECMAQuantifiedCaptures
(t *testing.T)
regexp_ecma_test.go:1488
Function
TestECMAScriptXCurlyBraceEscape
(t *testing.T)
regexp_test.go:1968
Function
TestECMAUnicode17PropertyEscapes
Go 1.27 updates unicode.Version to 17.0.0. Keep examples that require its new assignments and category corrections separate from the portable cases. h
regexp_ecma_properties_go127_test.go:10
Function
TestECMAUnicodeClassDecimalEscapeWithCapture
Character classes cannot contain decimal backreferences, even when the corresponding capture exists before or after the class.
regexp_ecma_escapes_test.go:317
Function
TestECMAUnicodeClassRangeErrors
(t *testing.T)
regexp_ecma_test.go:847
Function
TestECMAUnicodeControlEscapes
Annex B is not applied for Unicode RegExp: invalid control escape sequences are early errors when the Unicode flag is set.
regexp_ecma_escapes_test.go:141
Function
TestECMAUnicodeDecimalBackreferences
(t *testing.T)
regexp_ecma_escapes_test.go:288
Function
TestECMAUnicodeDecimalEscapes
Annex B's legacy octal escapes and its fallback for decimal escapes that exceed the group count do not apply with the Unicode flag; only \0 not follow
regexp_ecma_escapes_test.go:188
Function
TestECMAUnicodeMalformedSurrogateFollower
(t *testing.T)
regexp_ecma_surrogate_test.go:73
Function
TestECMAUnicodePropertiesFollowGoTables
Property membership should follow the standard library shipped with the consumer's Go version, including assignments and category corrections.
regexp_ecma_test.go:1066
Function
TestECMAUnicodePropertyComposition
(t *testing.T)
regexp_ecma_test.go:1115
Function
TestECMAUnicodePropertyEscapes
These cases exercise the property-escape contract in ECMA-262 and Test262's built-ins/RegExp/property-escapes suite through the public regexp API. The
regexp_ecma_test.go:990
Function
TestECMAUnicodePropertyIgnoreCase
(t *testing.T)
regexp_ecma_test.go:1184
Function
TestECMAUnicodePropertyModeIsolation
(t *testing.T)
regexp_ecma_test.go:1149
Function
TestECMAUnicodePropertyRangeEndpoints
(t *testing.T)
regexp_ecma_test.go:1168
Function
TestECMAUnicodePropertyRejectsExtensions
(t *testing.T)
regexp_ecma_test.go:1093
Function
TestECMAUnicodeSurrogatePairs
(t *testing.T)
regexp_ecma_surrogate_test.go:8
Function
TestECMAUnicodeUnpairedSurrogateRunes
The rune API can represent isolated UTF-16 code units that UTF-8 strings cannot. A failed pair lookahead must leave the next escape unconsumed.
regexp_ecma_surrogate_test.go:49
Function
TestECMAWordEscapeCaseFolding
(t *testing.T)
regexp_ecma_test.go:688
Function
TestECMA_CharSetRange
(t *testing.T)
regexp_ecma_test.go:515
Function
TestECMA_DotExcludesLineTerminators
(t *testing.T)
regexp_ecma_test.go:294
Function
TestECMA_MultilineAnchorsMatchAtLineTerminators
(t *testing.T)
regexp_ecma_test.go:334
Function
TestECMA_Test262CompileErrors
(t *testing.T)
regexp_ecma_test.go:399
Function
TestECMA_Test262ExecScenarios
(t *testing.T)
regexp_ecma_test.go:39
Function
TestECMA_WordBoundaryUsesWordCharacters
(t *testing.T)
regexp_ecma_test.go:427
Function
TestEMCAScriptUnicodeSets
(t *testing.T)
regexp_ecma_test.go:907
Function
TestEcmaScriptUnicodeRange
(t *testing.T)
regexp_test.go:1983
Function
TestEmptyCaptureLargeRepeat
(t *testing.T)
regexp_test.go:2401
Function
TestEmptyCaptureRepeatIsNotReduced
(t *testing.T)
regexp_optimization_test.go:106
Function
TestEmptyCharClass
(t *testing.T)
regexp_test.go:1534
Function
TestEndAnchorSearchEquivalent
(t *testing.T)
regexp_search_test.go:183
Function
TestEqualASCIIPrefixSearch
(t *testing.T)
prefixsearch_test.go:40
Function
TestEqualASCIIPrefixSearchDifferential
(t *testing.T)
prefixsearch_test.go:68
Function
TestEqualASCIIPrefixSearchSelection
(t *testing.T)
prefixsearch_test.go:135
Function
TestErr_GroupName
(t *testing.T)
regexp_test.go:648
Function
TestErr_UnterminatedCommentAfterLiteral
(t *testing.T)
regexp_test.go:687
Function
TestEscapeBELRoundTrip
(t *testing.T)
regexp_ecma_escapes_test.go:244
Function
TestEscapeLiteralDefaults
(t *testing.T)
regexp_re2_test.go:253
Function
TestEscapeUnescape_Basic
(t *testing.T)
regexp_test.go:449
Function
TestExtendedGraphemeClusterEscape
(t *testing.T)
regexp_syntax_extensions_test.go:103
Function
TestExtendedGraphemeClusterRightToLeft
(t *testing.T)
regexp_syntax_extensions_test.go:132
Function
TestFindAllAndReplacePoolingReducesAllocs
(t *testing.T)
regexp_pool_test.go:281
Function
TestFindAllIndexEmptyMatches
(t *testing.T)
regexp_test.go:1280
Function
TestFindAllRunesIndex
(t *testing.T)
regexp_test.go:1239
Function
TestFindAllRunesIndexNoMatchAllocs
(t *testing.T)
regexp_pool_test.go:114
Function
TestFindAllStringIndex
(t *testing.T)
regexp_test.go:958
Function
TestFindAllStringIndexAfterSlice
(t *testing.T)
decode_test.go:238
Function
TestFindAllStringIndexRequiredLandmarkChainEmail
(t *testing.T)
regexp_test.go:1292
Function
TestFindAllStringIndexUnicodeAfterSlice
(t *testing.T)
decode_test.go:305
Function
TestFindLeadingStringsSkipsToFirstRune
(t *testing.T)
regexp_optimization_test.go:233
Function
TestFindNextMatchAfterSlicedStart
(t *testing.T)
decode_test.go:256
Function
TestFindNextMatchPreservesEarlierCaptures
(t *testing.T)
regexp_pool_test.go:234
Function
TestFindNextMatchUnicodeAfterSlice
(t *testing.T)
decode_test.go:275
Function
TestFindNextMatch_Basic
(t *testing.T)
regexp_test.go:886
Function
TestFindNextMatch_ZeroWidthAfterScanAdvance
(t *testing.T)
regexp_test.go:933
Function
TestFindOptimizationRepeatPrefixNullableFixedDoesNotUseLiteralAfterLoop
(t *testing.T)
regexp_optimization_test.go:347
Function
TestFindOptimizationsCarriedToCode
(t *testing.T)
regexp_optimization_test.go:204
Function
TestFindOptimizationsDoesNotMutateRegexTree
(t *testing.T)
syntax/prefixanalyzer_test.go:333
Function
TestFindOptimizationsPreferPrefixesForHighFrequencyFirstSet
(t *testing.T)
syntax/prefixanalyzer_test.go:306
Function
TestFindOptimizationsRequiredLandmarkChain
(t *testing.T)
syntax/prefixanalyzer_test.go:350
Function
TestFindOptimizationsRequiredLandmarkChainAnchors
(t *testing.T)
syntax/prefixanalyzer_test.go:390
Function
TestFindOptimizationsUsesLeadingPositiveLookahead
(t *testing.T)
syntax/prefixanalyzer_test.go:288
Function
TestFindPrefix
(t *testing.T)
syntax/prefixanalyzer_test.go:183
Function
TestFindPrefixMatches
(t *testing.T)
stringprefixfilter_test.go:514
Function
TestFindPrefixes
(t *testing.T)
syntax/prefixanalyzer_test.go:212
Function
TestFindPrefixesRejectsNegatedSet
(t *testing.T)
syntax/prefixanalyzer_test.go:323
Function
TestFindRunesMatchNoMatchAllocs
(t *testing.T)
regexp_pool_test.go:19
Function
TestFindRunesMatchesAllocationScaling
(t *testing.T)
matchview_test.go:63
Function
TestFindRunesMatchesBalancedGroupRange
(t *testing.T)
matchview_test.go:28
Function
TestFindRunesMatchesConcurrent
(t *testing.T)
matchview_test.go:358
Function
TestFindRunesMatchesControlAndReuse
(t *testing.T)
matchview_test.go:274
Function
TestFindRunesMatchesExecutionError
(t *testing.T)
matchview_test.go:327
Function
TestFindRunesMatchesInvalidStart
(t *testing.T)
matchview_test.go:12
Function
TestFindRunesMatchesParity
(t *testing.T)
matchview_test.go:143
Function
TestFindStringMatchBoundaryIndexes
(t *testing.T)
decode_test.go:326
Function
TestFindStringMatchIndexesAfterSlice
(t *testing.T)
decode_test.go:121
Function
TestFindStringMatchLookbehindIndexes
(t *testing.T)
decode_test.go:342
Function
TestFindStringMatchPoolingDoesNotIncreaseAllocs
(t *testing.T)
regexp_pool_test.go:128
Function
TestFindStringMatchStart
(t *testing.T)
stringprefixfilter_test.go:480
Function
TestFindStringMatchUnicodeCaptureAfterSlice
(t *testing.T)
decode_test.go:161
Function
TestFindStringMatchUnicodeIndexesAfterSlice
(t *testing.T)
decode_test.go:141
Function
TestFindStringPrefixCandidateDisabledForRightToLeft
(t *testing.T)
stringprefixfilter_test.go:379
Function
TestFindStringPrefixCandidateFallbacks
(t *testing.T)
stringprefixfilter_test.go:352
Function
TestFirstcharsIgnoreCase
(t *testing.T)
regexp_test.go:828
Function
TestFixedDistanceStringFindFirstChar
(t *testing.T)
regexp_optimization_test.go:292
← previous
next →
1,001–1,100 of 1,370, ranked by callers