[chg] A short doc to addRegex method