1. 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

Discussion in 'Resolved Bug Reports' started by cclaerhout, Jul 1, 2015.

  1. cclaerhout

    cclaerhout Well-Known Member

    File: bb_bode_edit.js
    Original regex:
    (/(.|^)<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

    Is this normal ?
    Xon likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    I have changed this now, though not in that exact way. Thanks. :)

    Regarding the screenshot, that is normal.

Share This Page