Description
App crashes when running the edit r command with valid input. In this case, I tried to change the recipe's first step to add 1/4 tblspoon of water and it crashed. Considering that it is common for recipes to have figures like 1/4, the app would likely crash frequently when the user runs the edit r command, hence the High severity given.
Steps to Reproduce
- Run the app
- Add the following recipe by running
add r/scramble egg t/1 s/buy ingredients t/2 s/wash ingredients s/bake ingredients i/egg,2,pc
- Edit the recipe's first step by running
edit r/scramble egg s/1,add 1/4 tblspoon of water
- The app will crash
Actual Output
When performing step 3 as mentioned above, the app will crash.

Expected Output
The app should not crash and the recipe's first step should be successfully edited.
Description
App crashes when running the
edit rcommand with valid input. In this case, I tried to change the recipe's first step toadd 1/4 tblspoon of waterand it crashed. Considering that it is common for recipes to have figures like1/4, the app would likely crash frequently when the user runs theedit rcommand, hence theHighseverity given.Steps to Reproduce
add r/scramble egg t/1 s/buy ingredients t/2 s/wash ingredients s/bake ingredients i/egg,2,pcedit r/scramble egg s/1,add 1/4 tblspoon of waterActual Output
When performing step 3 as mentioned above, the app will crash.
Expected Output
The app should not crash and the recipe's first step should be successfully edited.