Closed Kojoley closed 1 year ago
import regex ; local rule-name = gcc.mingw.link ; local base = gcc ; local toolset = clang-linux ; ECHO [ MATCH ^($(base)\\.) : $(rule-name) ] ; ECHO [ regex.replace $(rule-name) ^$(base)\\. $(toolset). ] ; ECHO [ regex.replace-list $(rule-name) : ^$(base)\\. : $(toolset). ] ; ECHO [ regex.replace $(rule-name) ^$(base)\\\\. $(toolset). ] ; ECHO [ regex.replace-list $(rule-name) : ^$(base)\\\\. : $(toolset). ] ; ECHO [ regex.replace $(rule-name) ^$(base)[.] $(toolset). ] ; ECHO [ regex.replace-list $(rule-name) : ^$(base)[.] : $(toolset). ] ;
gcc. clang-linux.mingw.link clang-linux.mingw.link gcc.mingw.link gcc.mingw.link clang-linux.mingw.link clang-linux.mingw.link
I just messed up other things and the output is ok.