Modifying constructor for matchresult structures.
(change-matchresult x
[:loc <loc>]
[:len <len>]
[:str <str>]
[:backrefs <backrefs>])
This is an often useful alternative to make-matchresult.
We construct a new matchresult structure that is a copy of
This is an ordinary
Macro:
(defmacro change-matchresult (x &rest args) (std::change-aggregate 'matchresult x args '((:loc . matchresult->loc) (:len . matchresult->len) (:str . matchresult->str) (:backrefs . matchresult->backrefs)) 'change-matchresult 'nil))