neustradamus, to random
@neustradamus@mastodon.social avatar
mjgardner,
@mjgardner@social.sdf.org avatar

@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html

It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre

#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp

vwbusguy, (edited ) to ruby
@vwbusguy@mastodon.online avatar

Some have said that I am capable of writing in any language. Behold my .

mjgardner,
@mjgardner@social.sdf.org avatar

@vwbusguy @barubary
@Perl I’m glad https://mastodon.online/@vwbusguy/111212516938547685 works for you, but I feel pity for when you come back to it later.

It’s nothing to do with and everything to do with shitty possible in almost any language.

Though it’s true that Perl’s reputation took a lot of damage from shitty developers filling the world with shitty in their shitty Perl code. So you’re in a big group, albeit via .

mjgardner, to raku
@mjgardner@social.sdf.org avatar
mjgardner,
@mjgardner@social.sdf.org avatar

@profoundlynerdy I don’t think other languages have “ripped off” and grammars. The point of a notional “RCRE” library would be to enable that.

mjgardner, to javascript
@mjgardner@social.sdf.org avatar

The unholy trinity of

mjgardner,
@mjgardner@social.sdf.org avatar

@malwareminigun @jernej__s has readability affordances for that nothing else can touch: https://perldoc.perl.org/perlre#%2Fx-and-%2Fxx

regehr, to random
@regehr@mastodon.social avatar

students are getting a bit harsh lately

mjgardner,
@mjgardner@social.sdf.org avatar

@regehr @commodore @dev There is even a (low-severity, a/k/a “cruel”) policy to discourage everything but $_, @_, $], and numbered capture variables: https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitPunctuationVars

https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitMatchVars already protects you against the performance-sapping $`, $&, and $' match variables

And you can configure your own prohibited list with https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitEvilVariables

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines