[rb-general] BUILD_PATH_PREFIX_MAP code examples and test cases
Ian Jackson
ijackson at chiark.greenend.org.uk
Wed Feb 22 18:00:00 CET 2017
Ximin Luo writes ("Re: [rb-general] BUILD_PATH_PREFIX_MAP code examples and test cases"):
> I think I generally agree with this, and I wasn't *too* pleased with the %pec stuff myself, but I thought picking another symbol would be "too random". I think % -> %# is fine though. I also had another idea:
>
> % -> %@
> = -> %-
> : -> %.
This would be tolerable, but: "-" is a "word" character in some
programming languages, and therefore in some cut-and-paste regexps
etc. And as I say in perl ""-quoted strings, "@" is a metacharacter
which needs \-escaping. Which is why I suggested + . #
Thanks,
Ian.
More information about the rb-general
mailing list