MCPcopy Create free account

hub / github.com/dlclark/regexp2 / functions

Functions981 in github.com/dlclark/regexp2

MethodGetIfOnlyUnicodeCategories
()
syntax/charclass.go:1396
MethodIndexOfAnyExcept
return the first index of anything except our original vals values within the slice given
helpers/searchvalues.go:50
MethodIndexOfAnyExcept
return the first index of our original vals values within the slice given
helpers/searchvalues.go:99
FunctionIndexOfAnyExcept1
(in []rune, bad rune)
helpers/indexof.go:77
FunctionIndexOfAnyExcept2
(in []rune, bad1, bad2 rune)
helpers/indexof.go:86
FunctionIndexOfAnyExcept3
(in []rune, bad1, bad2, bad3 rune)
helpers/indexof.go:96
FunctionIndexOfAnyExceptInSet
(in []rune, set syntax.CharSet)
helpers/indexof.go:127
FunctionIsBetween
(val rune, first, last rune)
helpers/runes.go:5
FunctionIsInMask64
(ch rune, mask uint64)
helpers/runes.go:44
MethodIsMatched
(cap int)
runner.go:2301
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:1301
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:19
FunctionLastIndexOf
(in []rune, find []rune)
helpers/indexof.go:132
MethodLastIndexOfAny
return the last index of our original vals values within the slice given
helpers/searchvalues.go:66
MethodLastIndexOfAny
return the last index of our original vals values within the slice given
helpers/searchvalues.go:105
FunctionLastIndexOfAny1
(in []rune, find rune)
helpers/indexof.go:162
MethodLastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:72
MethodLastIndexOfAnyExcept
return the last index of our original vals values within the slice given
helpers/searchvalues.go:110
FunctionLastIndexOfAnyExcept1
(in []rune, not rune)
helpers/indexof.go:153
FunctionLastIndexOfAnyInRange
(in []rune, first, last rune)
helpers/indexof.go:174
MethodLastIndexOfRune
(startIndex int, endIndex int, find rune)
runner.go:2212
MethodLess
(i, j int)
syntax/charclass.go:809
MethodMarshalText
MarshalText implements [encoding.TextMarshaler]. The output matches that of calling the [Regexp.String] method.
regexp.go:662
MethodMatch
Match reports whether the byte slice b contains any match of the regular expression.
compat/regexp.go:52
MethodMatchIndex
(cap int)
runner.go:2307
MethodMatchLength
(cap int)
runner.go:2304
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
FunctionNewRuneSearchValues
(vals string)
helpers/searchvalues.go:87
FunctionOptionDisableCharClassASCIIBitmap
OptionDisableCharClassASCIIBitmap disables compile-time ASCII bitmaps for character classes.
options.go:145
FunctionOptionMaxCachedReplaceBufferLength
OptionMaxCachedReplaceBufferLength limits retained replacement output buffers in the shared size-classed pool.
options.go:124
FunctionOptionMaxCachedRuneBufferLength
OptionMaxCachedRuneBufferLength limits retained string-to-rune buffers in the shared size-classed pool.
options.go:117
MethodRunes
Runes returns the captured text as a rune slice
match.go:68
MethodStackPush
(val int)
runner.go:2243
MethodStackPush2
(val1, val2 int)
runner.go:2249
MethodStackPush3
(val1, val2, val3 int)
runner.go:2257
MethodStackPushN
(vals ...int)
runner.go:2293
MethodStartsWith
(chars []rune)
helpers/searchvalues.go:147
MethodStartsWithIgnoreCase
(chars []rune)
helpers/searchvalues.go:151
MethodString
anchorDescription returns a human-readable description of the anchors
syntax/prefix.go:845
MethodString
()
syntax/charclass.go:401
MethodSwap
(i, j int)
syntax/charclass.go:810
FunctionTestAddLowercaseComplementRange
(t *testing.T)
syntax/charclass_test.go:35
FunctionTestAlternationConstAndEscape
(t *testing.T)
regexp_test.go:491
FunctionTestAlternationConstruct_Matches
(t *testing.T)
regexp_test.go:1462
FunctionTestAlternationNamedOptions_Errors
(t *testing.T)
regexp_test.go:1406
FunctionTestAlternationNamedOptions_Success
(t *testing.T)
regexp_test.go:1427
FunctionTestAnythingSet
(t *testing.T)
regexp_test.go:1884
FunctionTestAsciiSearchValues_Basic
(t *testing.T)
helpers/searchvalues_test.go:5
FunctionTestAsciiSearchValues_Boundaries
(t *testing.T)
helpers/searchvalues_test.go:29
FunctionTestAsciiSearchValues_NotAscii
(t *testing.T)
helpers/searchvalues_test.go:21
FunctionTestAsciiSearchValues_NotFound
(t *testing.T)
helpers/searchvalues_test.go:13
FunctionTestBacktrack_CatastrophicTimeout
(t *testing.T)
regexp_test.go:14
FunctionTestBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:12
FunctionTestBacktrackingStackLimitOverride
(t *testing.T)
regexp_optimization_test.go:45
FunctionTestBadGroupConstruct
(t *testing.T)
regexp_test.go:1596
FunctionTestBasicSplit
(t *testing.T)
split_test.go:9
FunctionTestBasicSplit_IgnoreCase
(t *testing.T)
split_test.go:20
FunctionTestCancellingClasses
(t *testing.T)
regexp_test.go:541
FunctionTestCanonicalize
(t *testing.T)
syntax/charclass_test.go:26
FunctionTestCapture_Basic
check all our functions and properties around basic capture groups and referential for Group 0
regexp_test.go:94
FunctionTestCapture_ByteOffsets
(t *testing.T)
regexp_test.go:155
FunctionTestCapture_ByteOffsetsFindNextMatch
(t *testing.T)
regexp_test.go:183
FunctionTestCapture_ByteOffsetsRightToLeft
(t *testing.T)
regexp_test.go:226
FunctionTestCapture_ByteOffsetsRunesInput
(t *testing.T)
regexp_test.go:241
FunctionTestCapture_ByteOffsetsStartingAt
(t *testing.T)
regexp_test.go:207
FunctionTestCharSetSerializeRoundTrip
(t *testing.T)
syntax/charclass_test.go:8
FunctionTestConcatAccidentalPatternCharge
(t *testing.T)
regexp_test.go:1733
FunctionTestConcatLoopCaptureSet
(t *testing.T)
regexp_test.go:552
FunctionTestConstantUneffected
(t *testing.T)
regexp_test.go:476
FunctionTestControlBracketFail
* func TestPcreStuff(t *testing.T) { re := MustCompile(`(?(?=(a))a)`, OptionDebug()) inp := unEscapeToMatch(`a`) fmt.Printf("Inp %q\n", inp) m, er
regexp_test.go:1565
FunctionTestControlBracketGroups
(t *testing.T)
regexp_test.go:1574
FunctionTestCorpusRE2BasicDat
TestCorpusRE2BasicDat runs the raw Go regexp basic.dat corpus. Corpus source: https://github.com/golang/go/blob/master/src/regexp/testdata/basic.da
regexp_corpus_re2_test.go:21
FunctionTestCorpusRustRegexToml
TestCorpusRustRegexToml runs the raw Rust regex TOML corpus. Corpus source: https://github.com/rust-lang/regex/tree/master/testdata The raw TOML f
regexp_corpus_rust_test.go:21
FunctionTestDeadline
(t *testing.T)
fastclock_test.go:14
FunctionTestDecimalLookahead
(t *testing.T)
regexp_test.go:950
FunctionTestDefaultBacktrackingStackLimit
(t *testing.T)
regexp_optimization_test.go:34
FunctionTestDollar
(t *testing.T)
regexp_test.go:1358
FunctionTestDot
(t *testing.T)
regexp_test.go:932
FunctionTestECMACharClassEscapeAfterDash
(t *testing.T)
regexp_test.go:1335
FunctionTestECMADecimalLookahead
(t *testing.T)
regexp_test.go:960
FunctionTestECMADollar
(t *testing.T)
regexp_test.go:1368
FunctionTestECMADot
(t *testing.T)
regexp_test.go:941
FunctionTestECMADuplicateGroupNames
(t *testing.T)
regexp_test.go:1175
FunctionTestECMAEmptyCharClass
(t *testing.T)
regexp_test.go:923
FunctionTestECMAGroupNameIdentifierChars
(t *testing.T)
regexp_test.go:1153
FunctionTestECMAGroupNameUnicode
(t *testing.T)
regexp_test.go:1092
FunctionTestECMAInvalidEscape
(t *testing.T)
regexp_test.go:1010
FunctionTestECMAInvalidEscapeCharClass
(t *testing.T)
regexp_test.go:1267
FunctionTestECMANamedGroup
(t *testing.T)
regexp_test.go:1026
FunctionTestECMANamedGroupNumberAssignment
(t *testing.T)
regexp_test.go:1189
FunctionTestECMANegateRange
(t *testing.T)
regexp_test.go:1326
FunctionTestECMAOctal
(t *testing.T)
regexp_test.go:980
FunctionTestECMAScriptXCurlyBraceEscape
(t *testing.T)
regexp_test.go:1288
FunctionTestECMA_CharSetRange
(t *testing.T)
regexp_ecma_test.go:260
FunctionTestECMA_Test262CompileErrors
(t *testing.T)
regexp_ecma_test.go:236
FunctionTestECMA_Test262ExecScenarios
(t *testing.T)
regexp_ecma_test.go:34
FunctionTestEMCAScriptUnicodeSets
(t *testing.T)
regexp_ecma_test.go:381
FunctionTestEcmaScriptUnicodeRange
(t *testing.T)
regexp_test.go:1303
← previousnext →701–800 of 981, ranked by callers