Previous: RegexResults-accessing, Up: RegexResults [Index]
If the regular expression was matched, pass the receiver to oneArgBlock and return its result. Otherwise, return nil.
If the regular expression was matched, evaluate oneArgBlock with the receiver as the argument. If it was not, evaluate zeroArgBlock. Answer the result of the block’s evaluation.
If the regular expression was matched, return the receiver. If it was not, evaluate zeroArgBlock and return its result.
If the regular expression was matched, evaluate oneArgBlock with the receiver as the argument. If it was not, evaluate zeroArgBlock. Answer the result of the block’s evaluation.
Answer whether the regular expression was matched