Re: I need unprintable regex help

2018-10-21 Thread ToddAndMargo via perl6-users
On 10/20/18 10:49 PM, ToddAndMargo via perl6-users wrote: I'm not sure what you thought I was showing you on IRC last night Oh ya, and a string is not an array of characters. That comes from my Modula2 days.

Re: I need unprintable regex help

2018-10-21 Thread ToddAndMargo via perl6-users
I'm not sure what you thought I was showing you on IRC last night, since I pointed this out multiple times. On Sat, Oct 20, 2018 at 3:43 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, my Str $CrLf = chr(0x0d) ~ chr(0x0a); $String ~~

Re: I need unprintable regex help

2018-10-20 Thread Brandon Allbery
The escape sequence \x allows you to embed characters by their code. "\x0D\x0A" is the same as the variable. I'm not sure what you thought I was showing you on IRC last night, since I pointed this out multiple times. On Sat, Oct 20, 2018 at 3:43 AM ToddAndMargo via perl6-users <

I need unprintable regex help

2018-10-20 Thread ToddAndMargo via perl6-users
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