Skip to content

Commit

Permalink
[Backport jb-v7.12.x] fix: handle missing spaces around @ mentions in…
Browse files Browse the repository at this point in the history
… cody chat (#6844)

This PR updates cody chat to also use proper regex splitting.

Manual verification that it can handle spaces in the chat:

<img width="536" alt="Screenshot 2025-01-28 at 15 09
37"
src="https://github.com/user-attachments/assets/9bb65e34-533c-41a6-9c5b-f2133f550bc9"
/>


## Test plan

Unit tests + manual testing
 <br> Backport 6e8d30d from #6842

Co-authored-by: Michael Bahr <1830132+bahrmichael@users.noreply.github.com>
  • Loading branch information
sourcegraph-release-bot and bahrmichael authored Jan 28, 2025
1 parent bd99393 commit 54d1ae7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
Loading

0 comments on commit 54d1ae7

Please sign in to comment.