14:56:07drmeisterHi kpoeck - how are things going?
15:00:40drmeisterYes! I found a way to smoothly regex replace amber input scripts, python code and common lisp code in a consistent way.
15:01:20drmeisterI embed things like :%FOO% into whatever code and then use cppcre to regex-replace :%FOO% with whatever string I want.
15:02:00stassats:%FOO% is not really a regex, is it?
15:02:03drmeisterThe ':' and uppercase lets me write the replacement rules with keyword symbols like :%foo% in Common Lisp
15:02:47drmeisterNo - but cppcre is what I'm using. The problem was dealing with amber scripts, python code, makefiles and common lisp code in a consistent way.
15:03:23drmeisterSo figuring out how to make the strings that get replaced work was the what took me a while.