- alt
auto alt(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- any
auto any(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- assac
auto assac(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- aswac
auto aswac(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- bob
Ctx bob(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- bol
Ctx bol(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- bos
Ctx bos(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- bow
Ctx bow(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- braced
Clause braced(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- buf
Seq buf(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- eob
Ctx eob(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- eol
Ctx eol(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- eos
Ctx eos(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- eow
Ctx eow(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- full
auto full(Args args)
- hooked
Clause hooked(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- insac
auto insac(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- inwac
auto inwac(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- kwd
Seq kwd(Arg arg)
- line
Seq line(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- lit
auto lit(Args args)
- match
inout(char)[] match(inout(char)[] input, Node node)
Undocumented in source. Be warned that the author may not have intended to support it.
- matchFirst
inout(char)[] matchFirst(inout(char)[] input, Node node)
Matching input with node.
Compatibility with std.regex.matchFirst.
- matchFirst
auto ref matchFirst(Data input, Node node)
- oom
auto oom(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- opt
auto opt(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- paired
Clause paired(Node prefix, Node suffix, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- parend
Clause parend(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- rep
auto rep(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- seq
auto seq(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- shebangLine
auto ref shebangLine(Node interpreter)
Create Matcher for a UNIX Shell $(LUCKY Shebang) Pattern.
- sym
Seq sym(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- word
Seq word(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
- ws
auto ws()
Undocumented in source. Be warned that the author may not have intended to support it.
- zom
auto zom(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
Patterns.
Test: dmd -version=show -preview=dip1000 -preview=in -vcolumns -I.. -i -debug -g -checkaction=context -allinst -unittest -main -run pattern.d Test: ldmd2 -fsanitize=address -I.. -i -debug -g -checkaction=context -allinst -unittest -main -run pattern.d Debug: ldmd2 -fsanitize=address -I.. -i -debug -g -checkaction=context -allinst -unittest -main pattern.d && lldb pattern
Concepts and namings are inspired by regular expressions, symbolic (regular) expressions (Emacs' rx.el package), predicate logic and grammars.
String patterns are matched by their raw bytes for now.