Softanza
StartFrançais
Softanza
The library documents itself · Pattern matching

stzNumbrex

50 own methods · 0 forms written with extensions, listed under their method

the source: base/regex/stzNumbrex.ring(opens in a new tab) · All classes · The area reference: Pattern matching

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 1 come from the library's tests; 4 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzNumbrex("{@Property(Prime)}"). 45 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
initializationno extension
NormalizePattern
initializationno extension
ParsePattern
pattern parsingno extension
SplitByOperator
pattern parsingno extension
ParseAlternation
pattern parsingno extension
ParseConjunction
pattern parsingno extension
ParseSingleToken
pattern parsingno extension
ParseConstraints
pattern parsingno extension
matching logic 2 examples run
oNx = new stzNumbrex("{@Property(Prime)}")
? oNx.Match(17)
? oNx.Match(18)
#--> 1
#--> 0
library testno extension
MatchTokens
matching logicno extension
MatchSingleToken
matching logicno extension
CheckProperty
(no comment in the source: the name reads as a sentence) check propertyin the section property checkingno extension
IsPrime
(no comment in the source: the name reads as a sentence) is primein the section property checkingno extension
IsPerfect
(no comment in the source: the name reads as a sentence) is perfectin the section property checkingno extension
IsFibonacci
(no comment in the source: the name reads as a sentence) is fibonacciin the section property checkingno extension
IsSquare
(no comment in the source: the name reads as a sentence) is squarein the section property checkingno extension
IsPalindrome
(no comment in the source: the name reads as a sentence) is palindromein the section property checkingno extension
IsAbundant
(no comment in the source: the name reads as a sentence) is abundantin the section property checkingno extension
IsDeficient
(no comment in the source: the name reads as a sentence) is deficientin the section property checkingno extension
IsTriangular
(no comment in the source: the name reads as a sentence) is triangularin the section property checkingno extension
IsCube
(no comment in the source: the name reads as a sentence) is cubein the section property checkingno extension
GetProperDivisors
(no comment in the source: the name reads as a sentence) get proper divisorsin the section property checkingno extension
CheckDigits
digit checkingno extension
GetDigits
digit checkingno extension
CheckFactors
factor checkingno extension
GetFactors
factor checkingno extension
CheckRelation
relation checkingno extension
CheckApprox
relation checkingno extension
CheckPart
relation checkingno extension
CheckDivisor
relation checkingno extension
CheckMultiple
relation checkingno extension
ExtractParts
part extractionno extension
MatchedParts
(no comment in the source: the name reads as a sentence) matched partsin the section query methodsno extension
Digits
(no comment in the source: the name reads as a sentence) digitsin the section query methodsno extension
Factors
(no comment in the source: the name reads as a sentence) factorsin the section query methodsno extension
Properties
(no comment in the source: the name reads as a sentence) propertiesin the section query methodsno extension
Value
(no comment in the source: the name reads as a sentence) valuein the section query methodsno extension
Tokens
(no comment in the source: the name reads as a sentence) tokensin the section query methods
composed example
o1 = new stzNumbrex("{@Property(Prime)}")
? @@( o1.Tokens() )
#--> [ [ [ "type", "property" ], [ "value", "prime" ], [ "constraints", [ ] ], [ "min", 1 ], [ "max", 1 ], [ "negated", 0 ] ] ]
composed from the signature, run for this page
no extension
Pattern
(no comment in the source: the name reads as a sentence) patternin the section query methods
composed example
o1 = new stzNumbrex("{@Property(Prime)}")
? o1.Pattern()
#--> {@Property(Prime)}
composed from the signature, run for this page
no extension
SetTarget
(no comment in the source: the name reads as a sentence) set targetin the section query methodsno extension
Explain
(no comment in the source: the name reads as a sentence) explainin the section query methodsno extension
MatchingNumberAfter
(no comment in the source: the name reads as a sentence) matching number afteralso written: MatchingNumberNextToin the section advanced query methods
composed example
o1 = new stzNumbrex("{@Property(Prime)}")
? o1.MatchingNumberAfter(2)
#--> 2
composed from the signature, run for this page
no extension
MatchingNumberBefore
(no comment in the source: the name reads as a sentence) matching number beforealso written: MatchingNumberPreviousToin the section advanced query methods
composed example
o1 = new stzNumbrex("{@Property(Prime)}")
? o1.MatchingNumberBefore(2)
#--> 2
composed from the signature, run for this page
no extension
MatchingNumbersBetween
(no comment in the source: the name reads as a sentence) matching numbers betweenin the section advanced query methodsno extension
MatchingBetween
(no comment in the source: the name reads as a sentence) matching betweenin the section advanced query methodsno extension
CountMatchingBetween
(no comment in the source: the name reads as a sentence) count matching betweenalso written: CountMatchingNumbersBetween · HowManyMatchingNumbersBetween · NumberOfMatchingNumbersBetweenin the section advanced query methodsno extension
EnableDebug
debug methodsno extension
DisableDebug
debug methodsno extension
SetDebug
debug methodsno extension
IsNumeric
helper methodsno extension