# Fix hang in replace all when the query contains non-ASCII text and regex-special characters \(\#54422\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c97442029aa8e1599661b171ad3f4e3161efc8de

Requested commit: c97442029aa8e1599661b171ad3f4e3161efc8de

Commit: c97442029aa8e1599661b171ad3f4e3161efc8de

Tree: b1acb1717dfdbac65a176cf32261e4583db67f72

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix hang in replace all when the query contains non-ASCII text and regex-special characters (#54422)

Closes #54331
Updates #50848

Release Notes:

- Fixed hang in replace all when the query contained non-ASCII text and
regex-special characters
```

## Parents

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

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