[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: delimiters with more than one character?



William Michels (12020-07-16):
> <a href="mailto:debian-user@lists.debian.org?in-reply-to=<
> [🔎] CAFakBwhN7crFsov60mR9tF4VUS1Duv4CNQohBBDyX-AWOXW-Kw@mail.gmail.com>&amp;subject=Re:%20Re:
> delimiters with more than one character? ...">debian-user@lists.debian.org
> </a>

???

> I've slowly been learning the Raku programming language (AKA Perl6), and
> while I'm far from being an expert, this is the first solution I came up
> with (raku one-or-two-liners, at the bash command prompt):
> 
> user@mbook:~$ raku -e ' my Str $s=" 34 + 45 \| abc \| 1 2 3 \| c\|123abc ";
> $s.put';
>  34 + 45 | abc | 1 2 3 | c|123abc

Observe your output carefully. You'll notice that the string you defined
does not actually contain any backslash.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature


Reply to: