Open CaptainKeqing opened 5 months ago
Hi @CaptainKeqing
The way you phrase this issue seems to indicate that there is no problem regarding the current implementation, can I confirm that this is your intention?
Separately, we will include the fact that leading 0's will be stripped within the UG.
Problem
The INDEX parse checks do not account for leading zeroes.
If I type 000001 (or any amount of leading zeroes) it deletes the 1th index for both delete and deleteOrder. This applies to any index that is present in the list.
Pre-execution
After executing
delete 000000001
Then, execute
deleteOrder 001
Recommended Fix
Perhaps it would be better to add checks to account for this. Something simple would be trimming leading zeroes because these will definitely not be a valid index !