class documentation

Emphasis processor for handling strong and em matches inside underscores.

Constant PATTERNS Undocumented

Inherited from AsteriskProcessor:

Method build_double Return double tag.
Method build_double2 Return double tags (variant 2): `<strong>text <em>text</em></strong>`.
Method build_element Element builder.
Method build_single Return single tag.
Method handleMatch Parse patterns.
Method parse_sub_patterns Parses sub patterns.

Inherited from InlineProcessor (via AsteriskProcessor):

Method __init__ Create an instant of an inline pattern.
Instance Variable compiled_re Undocumented
Instance Variable md Undocumented
Instance Variable pattern Undocumented
Instance Variable safe_mode Undocumented

Inherited from Pattern (via AsteriskProcessor, InlineProcessor):

Method getCompiledRegExp Return a compiled regular expression.
Method type Return class name, to define pattern type
Method unescape Return unescaped text given text with an inline placeholder.
Constant ANCESTOR_EXCLUDES Undocumented
PATTERNS = (source)

Undocumented

Value
[EmStrongItem(re.compile(EM_STRONG2_RE, re.DOTALL|re.UNICODE),
              'double',
              'strong,em'),
 EmStrongItem(re.compile(STRONG_EM2_RE, re.DOTALL|re.UNICODE),
              'double',
              'em,strong'),
 EmStrongItem(re.compile(SMART_STRONG_EM_RE, re.DOTALL|re.UNICODE), 'double2', '
...