BBCodeLexer::Internal_ClassifyPiece( $ptr, $pieces )
Contents
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'; }