Might be good to mention somehow that the string must be a full regular expression, not a partial one (match vs search).