x %if_next_is% yx %if_next_isnt% y
x %if_prev_is% y
x %if_prev_isnt% y
Special binary functions are used to infer an ordering, since often you might wish to match a word / set of characters conditional on the start and end of that word.
%if_next_is%
:TRUE
if x follows y%if_next_isnt%
:TRUE
if x does not follow y%if_prev_is%
:TRUE
if y comes before x%if_prev_isnt%
:TRUE
if y does not come before xOther rex: .
, capture
,
capture_group
; %or%
,
or
; any_of
,
character_class
, except
,
except_any_of
,
except_some_of
,
exclude_range
, none_of
,
one_of
, range
,
some_of
; at_least
,
at_most
, between
,
counts
, n
,
n_times
; group
;
maybe
, one_or_more
,
wildcards
, zero_or_more
,
zero_or_one
; not
;
rex
, rex_
;
shortcuts