constant XBBCODE_RE_TAG in Extensible BBCode 8
Same name and namespace in other branches
- 8.2 xbbcode.module \XBBCODE_RE_TAG
- 7 xbbcode.module \XBBCODE_RE_TAG
Regular expression pattern for parsing a complete tag element.
1 use of XBBCODE_RE_TAG
- XBBCodeFilter::process in lib/
Drupal/ xbbcode/ XBBCodeFilter.php - Execute the filter on a particular text.
File
- ./
xbbcode.module, line 26 - The main module file containing hook implementations.
Code
define('XBBCODE_RE_TAG', '/\\[(?<closing>\\/)?(?<name>\\w+)(?:=(?<bq>' . XBBCODE_RE_QUOTE . ')(?<option>.*?)\\g{bq}(?=\\s|\\])|(?<attrs>' . XBBCODE_RE_ATTR . '+))?\\]/i');