mongoid/mongoid — pull request #2818 by arthurnn (2013-02-12 18:42:55+00:00)
Title: Atomic positionable, $ replace

Uses the selector key, in the regex, to replace the digit to $ operator,
So even when we send another keys on the selector, it will still replace
only the ones that match on the operation.