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

Re: Regular expressions, PCRE [was: Relation(s) between/among Kate, Kwrite, and Katepart]



On Mon, Apr 21, 2025 at 04:19:43PM +0200, Nicolas George wrote:
> Tom Browder (HE12025-04-21):
> >     $ time raku -e ‘my $s = “a” x 25; my $r = “a?” x 25 ~ “a” x 25; if
> > ($s ~= $r) { say “yes” } ‘
> 
> I almost asked if Raku uses pairs of Unicode quotes instead of the
> symmetrical ASCII one; then I noticed the single quotes, and I know the
> shell does not.
> 
> > Raku’s regular expression grammar is much better than Perl’s. Larry
> > was very picky about that.
> 
> This is a good occasion to ask:
> 
> As a long-time Perl 5 programmer [...]

> Do you know the answer to these questions? Or a place where somebody
> wrote them?

Not the one you asked, but the Wikipedia [1] seems to have a pretty
nice overview. I know it'd get /me/ started.

Disclaimer: I've done lots of Perl 5, but no Perl 6 whatsoever yet
(now if Someone (TM) threw a Perl 6 project over the fence which
could allow me to pay my bills, I wouldn't mind ;-)

Cheers

[1] https://en.wikipedia.org/wiki/Raku_(programming_language)#Major_changes_from_Perl
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: