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

stzRegexuter

27 own methods · 2 forms written with extensions, listed under their method

the source: base/regex/stzRegexUter.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: 0 come from the library's tests; 11 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzRegexuter() o1.Trigger([ "numbers", "\d+" ]) o1.Trigger([ "words", "[a-zA-Z]+" ]) o1.AddCode("numbers", "{ @value = number(@value) * 2 }") o1.AddCode("words", "{ @value = upper(@value) }") o1.Process("hello 123 world 456"). 16 methods have none yet. Examples run on 2026-10-04 07:31 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
AddTrigger
trigger methodsno extension
Trigger
trigger methodsno extension
TriggerNameExists
trigger methodsno extension
AddCode
code methodsno extension
AddComputation
code methodsno extension
@C
code methodsno extension
Process
process methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
o1.Process("abc 7")
? @@( o1.Results() )
#--> [ 14, "ABC" ]
composed from the signature, run for this page
no extension
Compute
process methodsno extension
ResetState
state methodsno extension
AddStateEntry
state methodsno extension
getAffectedTriggers
state methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.getAffectedTriggers("numbers") )
#--> [ "numbers" ]
composed from the signature, run for this page
no extension
StateByPosition
state methodsno extension
StateByComputationOrder
state methodsno extension
GetDependencyChain
state methodsno extension
State
(no comment in the source: the name reads as a sentence) statein the section result methodsno extension
Triggers
(no comment in the source: the name reads as a sentence) triggersin the section result methodsno extension
Matches
(no comment in the source: the name reads as a sentence) matchesin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.Matches() )
#--> [ "123", "456", "hello", "world" ]
composed from the signature, run for this page
QCSXTZZZIBWU
Positions
(no comment in the source: the name reads as a sentence) positionsin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.Positions() )
#--> [ 7, 17, 1, 11 ]
composed from the signature, run for this page
no extension
Results
(no comment in the source: the name reads as a sentence) resultsin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.Results() )
#--> [ 246, 912, "HELLO", "WORLD" ]
composed from the signature, run for this page
QCSXTZZZIBWU
ResultXT
(no comment in the source: the name reads as a sentence) result xtin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.ResultXT() )
#--> [ [ 246, "123" ], [ 912, "456" ], [ "HELLO", "hello" ], [ "WORLD", "world" ] ]
composed from the signature, run for this page
no extension
ResultsAndMatches
(no comment in the source: the name reads as a sentence) results and matchesin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.ResultsAndMatches() )
#--> [ [ 246, "123" ], [ 912, "456" ], [ "HELLO", "hello" ], [ "WORLD", "world" ] ]
composed from the signature, run for this page
no extension
ResultsAndTheirMatches
(no comment in the source: the name reads as a sentence) results and their matchesin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.ResultsAndTheirMatches() )
#--> [ [ 246, "123" ], [ 912, "456" ], [ "HELLO", "hello" ], [ "WORLD", "world" ] ]
composed from the signature, run for this page
no extension
MatchedValuesXT
(no comment in the source: the name reads as a sentence) matched values xtin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.MatchedValuesXT() )
#--> [ [ "123", 246 ], [ "456", 912 ], [ "hello", "HELLO" ], [ "world", "WORLD" ] ]
composed from the signature, run for this page
no extension
MatchesAndResults
(no comment in the source: the name reads as a sentence) matches and resultsin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.MatchesAndResults() )
#--> [ [ "123", 246 ], [ "456", 912 ], [ "hello", "HELLO" ], [ "world", "WORLD" ] ]
composed from the signature, run for this page
no extension
MatchesAndTheirResults
(no comment in the source: the name reads as a sentence) matches and their resultsin the section result methods
composed example
o1 = new stzRegexuter()
o1.Trigger([ "numbers", "\d+" ])
o1.Trigger([ "words", "[a-zA-Z]+" ])
o1.AddCode("numbers", "{ @value = number(@value) * 2 }")
o1.AddCode("words", "{ @value = upper(@value) }")
o1.Process("hello 123 world 456")
? @@( o1.MatchesAndTheirResults() )
#--> [ [ "123", 246 ], [ "456", 912 ], [ "hello", "HELLO" ], [ "world", "WORLD" ] ]
composed from the signature, run for this page
no extension
executeComputation
private methodsno extension