Fixed User tagging (paste) - regex - missing modifier

cclaerhout

Well-known member
File: bb_bode_edit.js
Original regex:
Code:
(/(.|^)<a\s[^>]*data-user="(\d+, [^"]+)"[^>]*>([\w\W]+?)<\/a>/gi
=> will not work if the tag is at the begin of the line. Test page. The multiline modifier is missing (gmi).

Thanks to @Xon

P.S:
Is this normal ?
test.webp
 
I have changed this now, though not in that exact way. Thanks. :)

Regarding the screenshot, that is normal.
 
Top Bottom