[PATCH v2 03/25] moveconfig: Use re.fullmatch() to avoid extra check