We talked about this, changing the search string invalidates the internal state of the regex object.