Next: , Previous: , Up: Base classes   [Index]


1.145 RegexResults

Defined in namespace Smalltalk
Superclass: Object
Category: Collections-Text

I hold the results of a regular expression match, and I can reconstruct which parts of the matched string were assigned to each subexpression. Methods such as #=~ return RegexResults objects, while others transform the string directly without passing the results object back to the caller.