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

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Dec 18 13:12:06 PST 2013


19-Dec-2013 01:05, Andrej Mitrovic пишет:
> On 12/18/13, Dmitry Olshansky <dmitry.olsh at gmail.com> wrote:
>> The precedent is Perl. A heavy influencer on the (former) std.regex design.
>> http://perldoc.perl.org/perlre.html#Capture-groups
>> (grep for $')
>
> Ah, classic Perl. Write once - don't bother to read ever again. :p
>

Or rather - if it's so fast to (re)write, why bother reading at all? :)

-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list