Re: 'split': differences between Perl5 and Perl6

2016-02-28 Thread Parrot Raiser
http://doc.perl6.org/language/5to6-nutshell is worth checking; there's a table of regex/pattern translations there. On 2/27/16, James E Keenan wrote: > On 02/27/2016 08:38 PM, Brandon Allbery wrote: > >> >> >> [...] is what used to be (?:...), and <[...]> is what used to be [...]. >> Regexes have

Re: 'split': differences between Perl5 and Perl6

2016-02-27 Thread James E Keenan
On 02/27/2016 08:38 PM, Brandon Allbery wrote: [...] is what used to be (?:...), and <[...]> is what used to be [...]. Regexes have changed a *lot*, and you will really need to learn how they work now; just hoping that things work just like perl 5 will not work. My apologies for being a Per

Re: 'split': differences between Perl5 and Perl6

2016-02-27 Thread Brandon Allbery
On Sat, Feb 27, 2016 at 8:34 PM, James E Keenan wrote: > I'm surprised to get exactly the same output I got in both languages when > my delimiter was the multi-character string 'tri'. The '[' and ']' > characters do not seem to indicate "character class" at all. It's as if > '/[...]/' magically