Regarding your update, just use /\AX+\z/.
In reply to Re^2: Check if a variable contains only one letter? by tobyink in thread Check if a variable contains only one letter? by Anonymous Monk