|
Extensible BBCode
8.x-3.x-dev
|
Go to the source code of this file.
Functions | |
| xbbcode_theme () | |
| theme_xbbcode_plugin_selection ($variables) | |
Variables | |
| const | XBBCODE_RE_QUOTE '"|\'|&(quot|#039);|' |
| const | XBBCODE_RE_ATTR '(?:\s+(?<key>\w+)=(?<aq>' . XBBCODE_RE_QUOTE . ')(?<value>[^"]*?)\g{aq}(?=\s|\]|$))' |
| const | XBBCODE_RE_TAG '/\[(?<closing>\/)?(?<name>\w+)(?:=(?<bq>' . XBBCODE_RE_QUOTE . ')(?<option>.*?)\g{bq}(?=\s|\])|(?<attrs>' . XBBCODE_RE_ATTR . '+))?\]/i' |
The main module file containing hook implementations.
Definition in file xbbcode.module.
| theme_xbbcode_plugin_selection | ( | $variables | ) |
Renders the plugin selection subform as a table.
Definition at line 41 of file xbbcode.module.
| xbbcode_theme | ( | ) |
Implements hook_theme().
Definition at line 28 of file xbbcode.module.
| const XBBCODE_RE_ATTR '(?:\s+(?<key>\w+)=(?<aq>' . XBBCODE_RE_QUOTE . ')(?<value>[^"]*?)\g{aq}(?=\s|\]|$))' |
Regular expression pattern for parsing a key=value assignment.
Definition at line 18 of file xbbcode.module.
| const XBBCODE_RE_QUOTE '"|\'|&(quot|#039);|' |
Regular expression matching any quote delimiter, including escaped quotes.
Definition at line 13 of file xbbcode.module.
| const XBBCODE_RE_TAG '/\[(?<closing>\/)?(?<name>\w+)(?:=(?<bq>' . XBBCODE_RE_QUOTE . ')(?<option>.*?)\g{bq}(?=\s|\])|(?<attrs>' . XBBCODE_RE_ATTR . '+))?\]/i' |
Regular expression pattern for parsing a complete tag element.
Definition at line 23 of file xbbcode.module.