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