Updated docs.

This commit is contained in:
Ferdinand Majerech 2014-08-06 17:13:54 +02:00
parent 6ead027e51
commit d0ac642a6e
17 changed files with 19 additions and 16 deletions

View file

@ -202,6 +202,7 @@ Add this to your code to add implicit resolution of ``!color``.
//code from the previous example...
auto resolver = new Resolver;
import std.regex;
resolver.addImplicitResolver("!color", std.regex.regex("[0-9a-fA-F]{6}"),
"0123456789abcdefABCDEF");