This PR change one method of regexp.Regexp struct with a similar one, as result code produce less allocations on heap.