The matched text that corresponds to parts of the pattern enclosed in parens can be used in the replacement as \1 for the first set of parens, \2 for the second, etc. So the (\d+) in the pattern matches a string of one or more digits (i.e. an integer), and it's used in the replacement as '\\1' (why it needs an extra backslash is another story - it might be best if you look at this page for the description of the 'e' modifier
http://www.php.net/manual/en/referen....modifiers.php).
Edit: reading your post again, maybe I misunderstood? I don't know why {option} would be matched at all by that pattern.