MCPcopy Create free account

hub / github.com/dlclark/regexp2 / functions

Functions1,370 in github.com/dlclark/regexp2

FunctionTestECMAIgnoreCaseCharacterFolding
(t *testing.T)
regexp_ecma_test.go:731
FunctionTestECMAIgnoreCaseNonWord
(t *testing.T)
regexp_ecma_test.go:679
FunctionTestECMAInvalidEscape
(t *testing.T)
regexp_test.go:1627
FunctionTestECMAInvalidEscapeCharClass
(t *testing.T)
regexp_test.go:1947
FunctionTestECMALegacyClassRanges
(t *testing.T)
regexp_ecma_test.go:790
FunctionTestECMALegacyEscapeCaptures
(t *testing.T)
regexp_ecma_escapes_test.go:102
FunctionTestECMALegacyEscapeErrors
(t *testing.T)
regexp_ecma_escapes_test.go:129
FunctionTestECMALegacyEscapeIgnoreCase
(t *testing.T)
regexp_ecma_escapes_test.go:89
FunctionTestECMALegacyEscapes
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
FunctionTestECMANamedGroup
(t *testing.T)
regexp_test.go:1643
FunctionTestECMANamedGroupNumberAssignment
(t *testing.T)
regexp_test.go:1856
FunctionTestECMANegateRange
(t *testing.T)
regexp_test.go:2040
FunctionTestECMAOctal
(t *testing.T)
regexp_test.go:1597
FunctionTestECMAQuantifiedAssertion
(t *testing.T)
regexp_test.go:1788
FunctionTestECMAQuantifiedCaptureBackreference
(t *testing.T)
regexp_ecma_test.go:1473
FunctionTestECMAQuantifiedCaptures
(t *testing.T)
regexp_ecma_test.go:1488
FunctionTestECMAScriptXCurlyBraceEscape
(t *testing.T)
regexp_test.go:1968
FunctionTestECMAUnicode17PropertyEscapes
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
FunctionTestECMAUnicodeClassDecimalEscapeWithCapture
Character classes cannot contain decimal backreferences, even when the corresponding capture exists before or after the class.
regexp_ecma_escapes_test.go:317
FunctionTestECMAUnicodeClassRangeErrors
(t *testing.T)
regexp_ecma_test.go:847
FunctionTestECMAUnicodeControlEscapes
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
FunctionTestECMAUnicodeDecimalBackreferences
(t *testing.T)
regexp_ecma_escapes_test.go:288
FunctionTestECMAUnicodeDecimalEscapes
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
FunctionTestECMAUnicodeMalformedSurrogateFollower
(t *testing.T)
regexp_ecma_surrogate_test.go:73
FunctionTestECMAUnicodePropertiesFollowGoTables
Property membership should follow the standard library shipped with the consumer's Go version, including assignments and category corrections.
regexp_ecma_test.go:1066
FunctionTestECMAUnicodePropertyComposition
(t *testing.T)
regexp_ecma_test.go:1115
FunctionTestECMAUnicodePropertyEscapes
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
FunctionTestECMAUnicodePropertyIgnoreCase
(t *testing.T)
regexp_ecma_test.go:1184
FunctionTestECMAUnicodePropertyModeIsolation
(t *testing.T)
regexp_ecma_test.go:1149
FunctionTestECMAUnicodePropertyRangeEndpoints
(t *testing.T)
regexp_ecma_test.go:1168
FunctionTestECMAUnicodePropertyRejectsExtensions
(t *testing.T)
regexp_ecma_test.go:1093
FunctionTestECMAUnicodeSurrogatePairs
(t *testing.T)
regexp_ecma_surrogate_test.go:8
FunctionTestECMAUnicodeUnpairedSurrogateRunes
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
FunctionTestECMAWordEscapeCaseFolding
(t *testing.T)
regexp_ecma_test.go:688
FunctionTestECMA_CharSetRange
(t *testing.T)
regexp_ecma_test.go:515
FunctionTestECMA_DotExcludesLineTerminators
(t *testing.T)
regexp_ecma_test.go:294
FunctionTestECMA_MultilineAnchorsMatchAtLineTerminators
(t *testing.T)
regexp_ecma_test.go:334
FunctionTestECMA_Test262CompileErrors
(t *testing.T)
regexp_ecma_test.go:399
FunctionTestECMA_Test262ExecScenarios
(t *testing.T)
regexp_ecma_test.go:39
FunctionTestECMA_WordBoundaryUsesWordCharacters
(t *testing.T)
regexp_ecma_test.go:427
FunctionTestEMCAScriptUnicodeSets
(t *testing.T)
regexp_ecma_test.go:907
FunctionTestEcmaScriptUnicodeRange
(t *testing.T)
regexp_test.go:1983
FunctionTestEmptyCaptureLargeRepeat
(t *testing.T)
regexp_test.go:2401
FunctionTestEmptyCaptureRepeatIsNotReduced
(t *testing.T)
regexp_optimization_test.go:106
FunctionTestEmptyCharClass
(t *testing.T)
regexp_test.go:1534
FunctionTestEndAnchorSearchEquivalent
(t *testing.T)
regexp_search_test.go:183
FunctionTestEqualASCIIPrefixSearch
(t *testing.T)
prefixsearch_test.go:40
FunctionTestEqualASCIIPrefixSearchDifferential
(t *testing.T)
prefixsearch_test.go:68
FunctionTestEqualASCIIPrefixSearchSelection
(t *testing.T)
prefixsearch_test.go:135
FunctionTestErr_GroupName
(t *testing.T)
regexp_test.go:648
FunctionTestErr_UnterminatedCommentAfterLiteral
(t *testing.T)
regexp_test.go:687
FunctionTestEscapeBELRoundTrip
(t *testing.T)
regexp_ecma_escapes_test.go:244
FunctionTestEscapeLiteralDefaults
(t *testing.T)
regexp_re2_test.go:253
FunctionTestEscapeUnescape_Basic
(t *testing.T)
regexp_test.go:449
FunctionTestExtendedGraphemeClusterEscape
(t *testing.T)
regexp_syntax_extensions_test.go:103
FunctionTestExtendedGraphemeClusterRightToLeft
(t *testing.T)
regexp_syntax_extensions_test.go:132
FunctionTestFindAllAndReplacePoolingReducesAllocs
(t *testing.T)
regexp_pool_test.go:281
FunctionTestFindAllIndexEmptyMatches
(t *testing.T)
regexp_test.go:1280
FunctionTestFindAllRunesIndex
(t *testing.T)
regexp_test.go:1239
FunctionTestFindAllRunesIndexNoMatchAllocs
(t *testing.T)
regexp_pool_test.go:114
FunctionTestFindAllStringIndex
(t *testing.T)
regexp_test.go:958
FunctionTestFindAllStringIndexAfterSlice
(t *testing.T)
decode_test.go:238
FunctionTestFindAllStringIndexRequiredLandmarkChainEmail
(t *testing.T)
regexp_test.go:1292
FunctionTestFindAllStringIndexUnicodeAfterSlice
(t *testing.T)
decode_test.go:305
FunctionTestFindLeadingStringsSkipsToFirstRune
(t *testing.T)
regexp_optimization_test.go:233
FunctionTestFindNextMatchAfterSlicedStart
(t *testing.T)
decode_test.go:256
FunctionTestFindNextMatchPreservesEarlierCaptures
(t *testing.T)
regexp_pool_test.go:234
FunctionTestFindNextMatchUnicodeAfterSlice
(t *testing.T)
decode_test.go:275
FunctionTestFindNextMatch_Basic
(t *testing.T)
regexp_test.go:886
FunctionTestFindNextMatch_ZeroWidthAfterScanAdvance
(t *testing.T)
regexp_test.go:933
FunctionTestFindOptimizationRepeatPrefixNullableFixedDoesNotUseLiteralAfterLoop
(t *testing.T)
regexp_optimization_test.go:347
FunctionTestFindOptimizationsCarriedToCode
(t *testing.T)
regexp_optimization_test.go:204
FunctionTestFindOptimizationsDoesNotMutateRegexTree
(t *testing.T)
syntax/prefixanalyzer_test.go:333
FunctionTestFindOptimizationsPreferPrefixesForHighFrequencyFirstSet
(t *testing.T)
syntax/prefixanalyzer_test.go:306
FunctionTestFindOptimizationsRequiredLandmarkChain
(t *testing.T)
syntax/prefixanalyzer_test.go:350
FunctionTestFindOptimizationsRequiredLandmarkChainAnchors
(t *testing.T)
syntax/prefixanalyzer_test.go:390
FunctionTestFindOptimizationsUsesLeadingPositiveLookahead
(t *testing.T)
syntax/prefixanalyzer_test.go:288
FunctionTestFindPrefix
(t *testing.T)
syntax/prefixanalyzer_test.go:183
FunctionTestFindPrefixMatches
(t *testing.T)
stringprefixfilter_test.go:514
FunctionTestFindPrefixes
(t *testing.T)
syntax/prefixanalyzer_test.go:212
FunctionTestFindPrefixesRejectsNegatedSet
(t *testing.T)
syntax/prefixanalyzer_test.go:323
FunctionTestFindRunesMatchNoMatchAllocs
(t *testing.T)
regexp_pool_test.go:19
FunctionTestFindRunesMatchesAllocationScaling
(t *testing.T)
matchview_test.go:63
FunctionTestFindRunesMatchesBalancedGroupRange
(t *testing.T)
matchview_test.go:28
FunctionTestFindRunesMatchesConcurrent
(t *testing.T)
matchview_test.go:358
FunctionTestFindRunesMatchesControlAndReuse
(t *testing.T)
matchview_test.go:274
FunctionTestFindRunesMatchesExecutionError
(t *testing.T)
matchview_test.go:327
FunctionTestFindRunesMatchesInvalidStart
(t *testing.T)
matchview_test.go:12
FunctionTestFindRunesMatchesParity
(t *testing.T)
matchview_test.go:143
FunctionTestFindStringMatchBoundaryIndexes
(t *testing.T)
decode_test.go:326
FunctionTestFindStringMatchIndexesAfterSlice
(t *testing.T)
decode_test.go:121
FunctionTestFindStringMatchLookbehindIndexes
(t *testing.T)
decode_test.go:342
FunctionTestFindStringMatchPoolingDoesNotIncreaseAllocs
(t *testing.T)
regexp_pool_test.go:128
FunctionTestFindStringMatchStart
(t *testing.T)
stringprefixfilter_test.go:480
FunctionTestFindStringMatchUnicodeCaptureAfterSlice
(t *testing.T)
decode_test.go:161
FunctionTestFindStringMatchUnicodeIndexesAfterSlice
(t *testing.T)
decode_test.go:141
FunctionTestFindStringPrefixCandidateDisabledForRightToLeft
(t *testing.T)
stringprefixfilter_test.go:379
FunctionTestFindStringPrefixCandidateFallbacks
(t *testing.T)
stringprefixfilter_test.go:352
FunctionTestFirstcharsIgnoreCase
(t *testing.T)
regexp_test.go:828
FunctionTestFixedDistanceStringFindFirstChar
(t *testing.T)
regexp_optimization_test.go:292
← previousnext →1,001–1,100 of 1,370, ranked by callers