# Fix regex search colors \(\#25962\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6faa7cd7220443fab5bee73c91c6f136d275c354

Requested commit: 6faa7cd7220443fab5bee73c91c6f136d275c354

Commit: 6faa7cd7220443fab5bee73c91c6f136d275c354

Tree: b35699db32606df8cd62363dbf6b228e5d9a5ccc

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix regex search colors (#25962)

In #25005 we added regex syntax highlighting to search; but the existing
regex grammar highlighted every character as a string which was hard to
read.

This flips so that characters are not highlighted, and brackets, etc.
are.
<img width="346" alt="Screenshot 2025-03-03 at 14 39 35"
src="https://github.com/user-attachments/assets/f7d3ae9c-fb5c-45eb-a5e9-41a330fbe940"
/>


Release Notes:

- Fixed regex search box being overly green
```

## Parents

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

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