Fixed regex missing 2nd underscore in XenForo_Helper_String::bbCodeStrip

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, -1, PREG_SPLIT_DELIM_CAPTURE);

should be
PHP:
$parts = preg_split('#(\[[a-z0-9_]+(?:=[^\]]*)?\]|\[/[a-z0-9_]+\])#si', $string, -1, PREG_SPLIT_DELIM_CAPTURE);
 
Top Bottom