Group string
Attention KoLmafia Experts!
We need your help; some details of this function's operation are unknown or unclear.
The following specific question has been raised:
- I can understand regex if I walk through it slowly; but I can't for the life of me understand the return mapping.--StDoodle 04:55, 3 March 2010 (UTC)
group(0) matches the entire expression. After that, group(n) matches the expression defined by the nth set of parentheses.--Heeheehee 06:45, 3 March 2010 (UTC)