Re: std.regex literal syntax (the \Q…\E escape sequence)

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Dec 18 11:54:29 PST 2013


On 12/18/13, Dmitry Olshansky <dmitry.olsh at gmail.com> wrote:
> P.S. This reminds me to put a roadmap of sorts on where std.regex is
> going and what to expect.

Btw one thing I'm not fond of is the format specifiers, in particular:

$` 	part of input preceding the match.
$' 	part of input following the match.

` and ' are very hard to tell apart. But I guess this was based on an
existing standard? Personally I'd prefer $< and $>.


More information about the Digitalmars-d-learn mailing list