The correct matching direction of alternatives. This can be either ltr (left to right) or rtl (right to left).
ltr is the matching direction of lookaheads and the default matching direction of JavaScript RegExps. rtl is the
matching direction of lookbehinds.
The current matching direction of an element is determined by the closest lookaround (lookahead or lookbehind)
ancestor. If the closest lookaround ancestor is a lookahead, the matching direction is ltr. Likewise, if it's a
lookbehind, it's rtl. If an element is not a descendant of a lookaround, the default matching direction ltr is
assumed.
The correct matching direction of alternatives. This can be either
ltr
(left to right) orrtl
(right to left).ltr
is the matching direction of lookaheads and the default matching direction of JavaScript RegExps.rtl
is the matching direction of lookbehinds.The current matching direction of an element is determined by the closest lookaround (lookahead or lookbehind) ancestor. If the closest lookaround ancestor is a lookahead, the matching direction is
ltr
. Likewise, if it's a lookbehind, it'srtl
. If an element is not a descendant of a lookaround, the default matching directionltr
is assumed.