stzListexuter
27 own methods · 2 forms written with extensions, listed under their method
the source: base/regex/stzListexUter.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; 4 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListexuter() o1.AddTrigger(:ListOfNumbers = "[@N3]") o1.AddCode(:ListOfNumbers, '{ @list + [ :Sum = @Sum(@list) ] }') o1.Process([ [ 42, "hello" ], [ 10, 20, 30 ], [ 1, 2, 3, 4, 5 ] ]). 23 methods have none yet. Examples run on 2026-10-04 07:31 inside the library at commit 0e72e2e2c.
composed example
o1 = new stzListexuter()
o1.AddTrigger(:ListOfNumbers = "[@N3]")
o1.AddCode(:ListOfNumbers, '{ @list + [ :Sum = @Sum(@list) ] }')
o1.Process([ [ 42, "hello" ], [ 10, 20, 30 ], [ 1, 2, 3, 4, 5 ] ])
o1.Process([ [ 10, 20, 30 ], [ 7, "x" ] ])
? @@( o1.Results() )
#--> [ [ 10, 20, 30, [ [ "sum", 60 ] ] ], [ 10, 20, 30, [ [ "sum", 60 ] ] ] ]composed from the signature, run for this pagecomposed example
o1 = new stzListexuter()
o1.AddTrigger(:ListOfNumbers = "[@N3]")
o1.AddCode(:ListOfNumbers, '{ @list + [ :Sum = @Sum(@list) ] }')
o1.Process([ [ 42, "hello" ], [ 10, 20, 30 ], [ 1, 2, 3, 4, 5 ] ])
o1.Compute([ [ 10, 20, 30 ], [ 7, "x" ] ])
? @@( o1.Results() )
#--> [ [ 10, 20, 30, [ [ "sum", 60 ] ] ], [ 10, 20, 30, [ [ "sum", 60 ] ] ] ]composed from the signature, run for this pagecomposed example
o1 = new stzListexuter()
o1.AddTrigger(:ListOfNumbers = "[@N3]")
o1.AddCode(:ListOfNumbers, '{ @list + [ :Sum = @Sum(@list) ] }')
o1.Process([ [ 42, "hello" ], [ 10, 20, 30 ], [ 1, 2, 3, 4, 5 ] ])
? @@( o1.Triggers() )
#--> [ "listofnumbers", "listofnumbers", "listofnumbers", "listofnumbers", "listofnumbers" ]composed from the signature, run for this pagecomposed example
o1 = new stzListexuter()
o1.AddTrigger(:ListOfNumbers = "[@N3]")
o1.AddCode(:ListOfNumbers, '{ @list + [ :Sum = @Sum(@list) ] }')
o1.Process([ [ 42, "hello" ], [ 10, 20, 30 ], [ 1, 2, 3, 4, 5 ] ])
? @@( o1.Matches() )
#--> [ [ 10, 20, 30 ], [ 10, 20, 30 ], [ 1, 2, 3 ], [ 2, 3, 4 ], [ 3, 4, 5 ] ]composed from the signature, run for this page
