Difference between revisions of "Group string"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
(Answer -- hopefully I'm right!)
imported>StDoodle
m
Line 1: Line 1:
 
{{RFI|I can understand regex if I walk through it slowly; but I can't for the life of me understand the return mapping.--[[User:StDoodle|StDoodle]] 04:55, 3 March 2010 (UTC)}}
 
{{RFI|I can understand regex if I walk through it slowly; but I can't for the life of me understand the return mapping.--[[User:StDoodle|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.--[[User:Heeheehee|Heeheehee]] 06:45, 3 March 2010 (UTC)
 

Revision as of 15:44, 5 March 2010

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)