BBCodeLexer::Internal_ClassifyPiece( $ptr,  $pieces )


Description Description


Source Source

File: includes/admin/parser.php

function Internal_ClassifyPiece($ptr, $pieces) {
if ($ptr >= count($pieces)) return -1;
$piece = $pieces[$ptr];
if ($piece == '=') return '=';
else if (preg_match("/^[\\'\\\"]/", $piece)) return '"';
else if (preg_match("/^[\\x00-\\x20]+$/", $piece)) return ' ';
else return 'A';
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.