diff --git a/utils.go b/utils.go
index d755bba..34307ee 100644
--- a/utils.go
+++ b/utils.go
@@ -27,7 +27,7 @@ const (
var (
urlSuffixMatcher = regexp.MustCompile(`[\w-_.]+\.[\w-_.]+(\/[\/\w]*)?$`)
nostrEveryMatcher = regexp.MustCompile(`nostr:((npub|note|nevent|nprofile|naddr)1[a-z0-9]+)\b`)
- nostrNoteNeventMatcher = regexp.MustCompile(`nostr:((note|nevent|naddr)1[a-z0-9]+)\b`)
+ nostrNoteNeventMatcher = regexp.MustCompile(`(?:^|
|\s)nostr:((note|nevent|naddr)1[a-z0-9]+)\b(?:\s|
|$)`)
nostrNpubNprofileMatcher = regexp.MustCompile(`nostr:((npub|nprofile)1[a-z0-9]+)\b`)
urlMatcher = func() *regexp.Regexp {