develooper Front page | perl.perl6.users | Postings from October 2018

I need unprintable regex help

Thread Next
From:
ToddAndMargo via perl6-users
Date:
October 20, 2018 07:42
Subject:
I need unprintable regex help
Message ID:
c4ab2af9-87e2-68ca-6b8a-c44528b27b28@zoho.com
Hi All,

    my Str $CrLf   = chr(0x0d) ~ chr(0x0a);
    $String ~~ s:global/ $CrLf /\n/;

How do I get rid of the extra $CrLf variable?

Many thanks,
-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About