shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

288
active users

#regexps

0 posts0 participants0 posts today
R. L. Dane :debian: :openbsd:<p>Extended <a href="https://fosstodon.org/tags/regexps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regexps</span></a> are great for place names like "Wellesley" where you can not remember if it's Welesley, Welleseley, Wellesselley, Welleslley, or Welesslley to save your dadburn life. ;)</p><p>/wel+es+e?l+ey/ !!!</p><p>cc: <span class="h-card" translate="no"><a href="https://alpha.polymaths.social/@amin" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>amin</span></a></span></p>
Mark Gardner<p>Any <a href="https://social.sdf.org/tags/RakuLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RakuLang</span></a> core hackers want to take up this challenge?</p><p><a href="https://social.sdf.org/tags/RegularExpressions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegularExpressions</span></a> <a href="https://social.sdf.org/tags/RegExps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExps</span></a> <a href="https://social.sdf.org/tags/RegExes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExes</span></a> <a href="https://social.sdf.org/tags/RegEx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegEx</span></a> <a href="https://ruby.social/@gd/110718818730295923" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ruby.social/@gd/11071881873029</span><span class="invisible">5923</span></a></p>
Mark Gardner<p><span class="h-card"><a href="https://mastodon.social/@regehr" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>regehr</span></a></span> <span class="h-card"><a href="https://discuss.systems/@commodore" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>commodore</span></a></span> <span class="h-card"><a href="https://discuss.systems/@dev" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>dev</span></a></span> There is even a (low-severity, a/k/a “cruel”) <a href="https://social.sdf.org/tags/PerlCritic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PerlCritic</span></a> policy to discourage everything but $_, @_, $], and numbered <a href="https://social.sdf.org/tags/RegularExpression" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegularExpression</span></a> capture variables: <a href="https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitPunctuationVars" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/pod/Perl::Critic:</span><span class="invisible">:Policy::Variables::ProhibitPunctuationVars</span></a></p><p><a href="https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitMatchVars" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/pod/Perl::Critic:</span><span class="invisible">:Policy::Variables::ProhibitMatchVars</span></a> already protects you against the performance-sapping $`, $&amp;, and $' match variables</p><p>And you can configure your own prohibited list with <a href="https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitEvilVariables" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/pod/Perl::Critic:</span><span class="invisible">:Policy::Variables::ProhibitEvilVariables</span></a></p><p><a href="https://social.sdf.org/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> <a href="https://social.sdf.org/tags/RegEx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegEx</span></a> <a href="https://social.sdf.org/tags/RegExp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExp</span></a> <a href="https://social.sdf.org/tags/RegExes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExes</span></a> <a href="https://social.sdf.org/tags/RegExps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExps</span></a></p>
Mark Gardner<p><span class="h-card"><a href="https://chaos.social/@sjn" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>sjn</span></a></span> <span class="h-card"><a href="https://planet.chrisbeckstrom.com/users/cb" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>cb</span></a></span> 99% of the “<a href="https://social.sdf.org/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> is line noise” complaints are because of unformatted <a href="https://social.sdf.org/tags/RegularExpressions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegularExpressions</span></a>. Every language worth anything eventually supports them, but only <span class="h-card"><a href="https://chirp.social/@Perl" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Perl</span></a></span> (and <a href="https://social.sdf.org/tags/awk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>awk</span></a>, earlier) makes them first-class citizens. And with Perl you can format and comment them for readability: <a href="https://perldoc.perl.org/perlretut#Embedding-comments-and-modifiers-in-a-regular-expression" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">perldoc.perl.org/perlretut#Emb</span><span class="invisible">edding-comments-and-modifiers-in-a-regular-expression</span></a></p><p>We format the rest of our code for humans. Why not <a href="https://social.sdf.org/tags/regexps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regexps</span></a>?</p><p><a href="https://social.sdf.org/tags/PerlCritic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PerlCritic</span></a> can warn against bad regexps: <a href="https://metacpan.org/search?size=200&amp;q=module%3APerl%3A%3ACritic%3A%3APolicy%3A%3ARegularExpressions" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/search?size=200&amp;q</span><span class="invisible">=module%3APerl%3A%3ACritic%3A%3APolicy%3A%3ARegularExpressions</span></a></p><p><a href="https://social.sdf.org/tags/regex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regex</span></a> <a href="https://social.sdf.org/tags/regexes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>regexes</span></a> <a href="https://social.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://social.sdf.org/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a> <a href="https://social.sdf.org/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareDevelopment</span></a></p>