Explicit cast to bool. Useful as a shorthand for !(x.empty) in if and assert statements.
import std.regex; assert(!matchFirst("nothing", "something"));
See Implementation
Explicit cast to bool. Useful as a shorthand for !(x.empty) in if and assert statements.