Crash in the replace command 
### Version

moe v0.3.0

Git hash: 83f8112742b8b70a8868dae22c3b3a66f48ad58a
Build type: Debug

### Environment

_No response_

### Category

Major — The software does not fulfill the task it is designed for.

### Steps to Reproduce

1. `:%s/ab`
2. `Enter`

### Detailed Description

_No response_