All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 50s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
269 B
TypeScript
5 lines
269 B
TypeScript
// Matches @username not already inside a markdown link ([...] or (...)) and
|
|
// not mid-word, so an email address doesn't mention its domain. The server
|
|
// notifies whoever it matches; the chat highlights the same names.
|
|
export const MENTION_RE = /(?<![[(\w])@(\w+)/g;
|