You are here

protected property MarkdownExtra::$em_relist in Markdown 7

* Redefining emphasis markers so that emphasis by underscore does not * work in the middle of a word. *

Type: array

Overrides Markdown::$em_relist

File

includes/MarkdownExtra.php, line 1490

Class

MarkdownExtra
Markdown Extra Parser Class

Namespace

Michelf

Code

protected $em_relist = array(
  '' => '(?:(?<!\\*)\\*(?!\\*)|(?<![a-zA-Z0-9_])_(?!_))(?![\\.,:;]?\\s)',
  '*' => '(?<![\\s*])\\*(?!\\*)',
  '_' => '(?<![\\s_])_(?![a-zA-Z0-9_])',
);