Tootfinder

Opt-in global Mastodon full text search. Join the index!

@lexoyo@framapiaf.org
2024-03-28 18:41:41

Funny quote
Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems.
From opensource.net/painless-regex-

@lexoyo@framapiaf.org
2024-03-28 18:41:41

Funny quote
Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems.
From opensource.net/painless-regex-

@wraithe@mastodon.social
2024-02-09 19:48:22

#BlueSky tutorial on using RegEx to make feeds.
bsky.app/profile/yevvie.varyel

@JasonPunyon@fosstodon.org
2024-04-29 16:49:45

Jank regex even jankier image-gen = a lot of fun. Built with @… #mastodon

@simoncox@seocommunity.social
2024-03-20 12:37:46

Oh hello new bit of shiney Regex help in Google Search Console!
#seo

Performance on Search results Searchtype:Web #  Date:last3months #  Regexpresets
Regex presets in Google Search Console - very handy!
@arXiv_csFL_bot@mastoxiv.page
2024-04-29 07:31:31

Regular Expressions with Backreferences and Lookaheads Capture NLOG
Yuya Uezato
arxiv.org/abs/2404.17492 arxiv.org/pd…

@dnddeutsch@pnpde.social
2024-04-23 12:42:44

Regex können süß sein 😍

@wraithe@mastodon.social
2024-02-09 19:48:22

#BlueSky tutorial on using RegEx to make feeds.
bsky.app/profile/yevvie.varyel

@arXiv_csPL_bot@mastoxiv.page
2024-03-19 07:03:40

A Coq Mechanization of JavaScript Regular Expression Semantics
No\'e De Santo, Aur\`ele Barri\`ere, Cl\'ement Pit-Claudel
arxiv.org/abs/2403.11919

@castarco@hachyderm.io
2024-02-11 10:21:50

#TIL Today I learnt that adding `?` after `*` transforms a #regex expression from being "greedy" into "lazy" (important for performance, safe validators, and protection against DoS attacks).
I don't know how I missed this bit of knowledge for so long. :blobfoxbox:

@dnddeutsch@pnpde.social
2024-04-23 13:14:56

@… Regex sind der Turing-Test an dem die KI scheitert!

@domm@social.linux.pizza
2024-02-15 16:05:16

Finally remembered to use the new /r flag in a #Perl regex substitution to return the changed value while map'ing over a list: `say join(';', map { s/;/,/gr } @values);`

@jrconlin@soc.jrconlin.com
2024-02-12 17:22:21

Nothing weirder than going down the rabbit hole of a random law directory that has tons of self promotion (seriously? Sketchlab as a promotional site?), no external citations or articles, and an "About Us" page hosted on `http://` that has tons of regex errors.
Yet happy to publish a hit piece on a local judge candidate.
If I was a journalist, this would be absolute catnip.

@wyri@toot-toot.wyrihaxim.us
2024-03-13 06:23:03

@… @… Here is the documentation about it: docs.renovatebot.com/modules/m

@castarco@hachyderm.io
2024-02-11 10:21:50

#TIL Today I learnt that adding `?` after `*` transforms a #regex expression from being "greedy" into "lazy" (important for performance, safe validators, and protection against DoS attacks).
I don't know how I missed this bit of knowledge for so long. :blobfoxbox:

@mgorny@social.treehouse.systems
2024-02-10 10:44:27

#Python #regex package (not to be confused with the builtin `re` module) relies on CPython implementation details and does not correctly support #PyPy (and the author says they might actually block building on it). However, the #ReAssert package requiring it seems to work just fine with plain `re`.
Today #Gentoo is switching from imperfectly patching regex and ignoring corner cases where it is known to be broken, to patching re-assert instead. I wish I could submit this trivial patch upstream but — as I've complained before — I've been banned and the author is unable to figure out why but that doesn't stop them from feeling righteous about it. Perhaps it was just a proactive ban for downstream packagers.
gitweb.gentoo.org/repo/gentoo.
github.com/mrabarnett/mrab-reg
github.com/mrabarnett/mrab-reg

@domm@social.linux.pizza
2024-02-15 16:05:16

Finally remembered to use the new /r flag in a #Perl regex substitution to return the changed value while map'ing over a list: `say join(';', map { s/;/,/gr } @values);`