and ">/code> and
/code>) surrounding a keyword, and are parsed
Parsing, syntax analysis, or syntactic analysis is the process of analyzing a String (computer science), string of Symbol (formal), symbols, either in natural language, computer languages or data structures, conforming to the rules of a formal gra ...
before being translated into HTML
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
.
Tags
Implementation
BBCode is typically implemented by applying a series of regular expression
A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" or ...
string-replace operations upon the input. Because regular expressions are limited in analyzing the structure of text input, this has the artifact that any non-hierarchical BBCode input will be transformed into invalid non-hierarchical HTML without error.
Applying traditional parsing techniques is made difficult by ambiguities in the markup, such as in , where the input can either be interpreted as "text" quoted from someone called , or the bolded text "text" surrounded by and {{code, lang=bbcode, code=quote
Quote is a hypernym of quotation, as the repetition or copy of a prior statement or thought. Quotation marks are punctuation marks that indicate a quotation. Both ''quotation'' and ''quotation marks'' are sometimes abbreviated as "quote(s)".
C ...
}, i.e. uote=text[/quote/code>.
_See_also
*_Markdown.html" ;"title="quote.html" ;"title="uote=text[/quote">uote=text[/quote/code>.
See also
* Markdown">quote.html" ;"title="uote=text[/quote">uote=text[/quote/code>.
See also
* Markdown
References
External links
BBCode users guide
RTF/HTML to BBCode online converter
Lightweight markup languages