# Correctly parse backslash character on replacement \(\#37014\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f07da9d9f2a24ee91aa14b9af15d282b26bae373)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f07da9d9f2a24ee91aa14b9af15d282b26bae373

Requested commit: f07da9d9f2a24ee91aa14b9af15d282b26bae373

Commit: f07da9d9f2a24ee91aa14b9af15d282b26bae373

Tree: 494400950fe6a565e21a6c201990a197c701fcff

Author: hong jihwan

Committer: GitHub

## Message

```
Correctly parse backslash character on replacement (#37014)

When a keybind contains a backslash character (\\), it is parsed
incorrectly, which results in an invalid keybind configuration.


This patch fixes the issue by ensuring that backslashes are properly
escaped during the parsing process. This allows them to be used as
intended in keybind definitions.

Release Notes:

- Fixed an issue where keybinds containing a backslash character (\\)
failed to be replaced correctly


## Screenshots
<img width="912" height="530" alt="SCR-20250828-borp"
src="https://github.com/user-attachments/assets/561a040f-575b-4222-ac75-17ab4fa71d07"
/>
<img width="912" height="530" alt="SCR-20250828-bosx"
src="https://github.com/user-attachments/assets/b8e0fb99-549e-4fc9-8609-9b9aa2004656"
/>
```

## Parents

- [8d05bb090c9a02c813e342cb19add2eb7be0e088](https://git.cafe/gitcafe/zed/commit/8d05bb090c9a02c813e342cb19add2eb7be0e088?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f07da9d9f2a24ee91aa14b9af15d282b26bae373?format=markdown)
