FYI anyone trying find/regex these “old” creates can do something like
find . -name '*.cpp' -exec sed -E -i \
's/(\w+)[[:space:]]*\.[[:space:]]*create<([^>]*)>\(/\2::create(\1, /g' {} +
(thanks @newling)
FYI anyone trying find/regex these “old” creates can do something like
find . -name '*.cpp' -exec sed -E -i \
's/(\w+)[[:space:]]*\.[[:space:]]*create<([^>]*)>\(/\2::create(\1, /g' {} +
(thanks @newling)