• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed User tagging (paste) - regex - missing modifier

cclaerhout

Well-known member
#1
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.jpg
 

Mike

XenForo developer
Staff member
#2
I have changed this now, though not in that exact way. Thanks. :)

Regarding the screenshot, that is normal.