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

Fixed regex missing 2nd underscore in XenForo_Helper_String::bbCodeStrip

Discussion in 'Resolved Bug Reports' started by Bob, Jul 23, 2015.

  1. Bob

    Bob Well-Known Member

    as per title,

    Currently missing an underscore in the 2nd instance of a-z0-9
    PHP:
    $parts preg_split('#(\[[a-z0-9_]+(?:=[^\]]*)?\]|\[/[a-z0-9]+\])#si'$string, -1PREG_SPLIT_DELIM_CAPTURE);
    should be
    PHP:
    $parts preg_split('#(\[[a-z0-9_]+(?:=[^\]]*)?\]|\[/[a-z0-9_]+\])#si'$string, -1PREG_SPLIT_DELIM_CAPTURE);
     
    imthebest, kokole, Liam W and 2 others like this.
  2. Mike

    Mike XenForo Developer Staff Member

    Thanks, I have fixed this now.
     
    Bob likes this.

Share This Page