Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSRegularExpressionMBS class.
NSRegularExpressionMBS.enumerateMatch(text as String, options as Integer, result as NSTextCheckingResultMBS, flags as Integer, byref stop as Boolean)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Regular Expressions | MBS MacCocoa Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
We pass through text and options for debugging.
Set stop to true to exit early.
Can be used with addHandler if needed.
result: An NSTextCheckingResultMBS specifying the match. This result gives the overall matched range via its range property, and the range of each individual capture group via its rangeAtIndex: method. The range {NSNotFound, 0} is returned if one of the capture groups did not participate in this particular match.
flags: The current state of the matching progress. See Matching Flags for the possible values.
stop: A reference to a Boolean value. The event can set the value to true to stop further processing of the array. The stop argument is an out-only argument. You should only ever set this Boolean to true within the event.
The items on this page are in the following plugins: MBS MacCocoa Plugin.