mirror of https://codeberg.org/cage/tinmop/
- [fediverse] fixed mention extraction's regexp.
This commit is contained in:
parent
2d95fb2e36
commit
8322288292
|
@ -89,14 +89,14 @@ followed by different acct e.g.:
|
|||
local-mention
|
||||
"([^"
|
||||
+mention-prefix+
|
||||
"\\w]|$)"))
|
||||
"\\w\\s]|$)"))
|
||||
(rest-re-register (nth-value 1 (scan-to-strings local-mention-re results)))
|
||||
(rest-re (when (not (vector-empty-p rest-re-register))
|
||||
(elt rest-re-register 1)))
|
||||
(replaced (funcall replace-function
|
||||
local-mention-re
|
||||
results
|
||||
(strcat " "actual-mention))))
|
||||
(strcat " " actual-mention))))
|
||||
(if rest-re
|
||||
(setf results (strcat replaced rest-re))
|
||||
(setf results (strcat replaced " "))))))
|
||||
|
|
Loading…
Reference in New Issue