#regexps
This is like a demon invoked with regexps
November 25, 2026 at 6:03 PM
Claude's coding skill is (still) astounding but it is sometimes still given to cheap, brittle hacky solutions - e.g. ill-conceived regexps cobbled together from a grab bag of words for text processing - that your inexperienced, inattentive user will probably never blink an eye at
November 26, 2026 at 6:27 PM
Quick journey from regexps to polynomials skipping some details:

Add the shuffle operator Ш to regexps. PШQ is the regexp that matches strings that are formed by interleaving strings that match P and Q. So (cat)Ш(dog) matches "catdog", "dogcat" and "dcoatg".

Modify the pairing so <R,S> is the […]
Original post on mathstodon.xyz
mathstodon.xyz
November 21, 2026 at 10:42 PM
If you take the Brzozowski derivative approach to matching regexps, where you flip the problem around and make strings into differential operators that act on expressions, and then copy that approach for ordinary derivatives, then you rediscover automatic differentiation by a different route […]
Original post on mathstodon.xyz
mathstodon.xyz
November 20, 2026 at 9:07 PM
As far as I can tell yes; about a year ago it was terrible at producing variorum editions because that's not what an LLM is good at, but at some point they seem to have given it the ability to write small regexps
November 20, 2026 at 4:28 PM
Recently found out, that using JS array .split method with regexps & capture groups allows you to capture string parts WITH delimiters. This comes very handy, when you needed to deal with template interpolation more complex than simple token replacement.
November 7, 2026 at 10:49 AM
I do, because occasionally when solving a vaguely defined problem I've discovered that Claude produced a very, very flimsy solution - e.g. arbitrary and brittle regexps to parse freeform input
October 25, 2026 at 5:49 PM
[LLM observation]

@darius I wrote an “AI” script for IRC bots (eggdrop) and it was just mountains of regexps and canned template sentences with a bunch of logic to let it learn words it saw and counters for “mood” and “friendship” etc and people really wanted it to be actual AI.

I had someone […]
Original post on mastodon.jamesoff.net
mastodon.jamesoff.net
October 26, 2026 at 12:21 PM
Paraxial.io for Ruby 1.5.0 Finds Regexps Built From User Input

Today the Ruby team released Ruby 4.0.9, 3.4.12, and 3.3.13, fixing memory safety bugs in the regular expression engine. Check if your Ruby and Rails apps are vulnerable!

paraxial.io/blog/ruby-dy...
Paraxial.io for Ruby 1.5.0 Finds Regexps Built From User Input
A new cop for the regexp engine bugs behind four GitLab CVEs.
paraxial.io
October 23, 2026 at 7:51 PM
Oops, the first one has the dreaded two letters in it.

Generally, I think, there are two sides to regexps:
Once, it's the APL of text. There's probably no more concise way to describe and process strings.
Then, there's also the algorithmic challenge.
(Personally, I'm less interested in the latter.)
October 10, 2026 at 3:10 PM
also the readtable is from sorted regexps to procedures instead of characters to procedures which hopefully isn’t a mistake

my regexp sort is lazy for now and I’ll need to handle that differently later
October 4, 2026 at 8:26 PM
me in AGENTS․md: please do precise syntax tree traversal and manipulation using tree_sitter, do not use grep or hand-rolled regexps, those are error-prone and constantly miss important...
kimi: look!!! i've invented grep() in python without using subprocess. do u like this
October 1, 2026 at 1:16 PM
there really should be a central repository of useful regexps. (url parsing, hashtags w/out false +ve, log formats...)
November 14, 2024 at 7:40 AM
The Wikipedia spam blocklist might have other useful examples + regexps
July 14, 2023 at 12:18 PM
Talking to other trans about tech is next level. Wow. Wasn’t I talking to the right people? Why is it just clicking now? Anyway…

On one Discord server, I started a trend where users changed their name to regexps like on my GitHub profile. On another, people were curious about my homelab.
August 8, 2025 at 6:15 AM
emacs's regexps are one of those superfund sites.
June 9, 2026 at 5:48 PM
A new article on @BASEsearch https://t.co/zIPgUzBADw The list of sources shows e.g. the OA % https://t.co/hPMNElYyg9 How do they deal with the varied OA terminology? This slide deck (in Deutsch) explains their normalizing work. In short: a lot of regexps https://t.co/PbIXDMUqHZ
Data Science Tools for Monitoring the Global Repository Eco-System and its Lines of Evolution
The global network of scholarly repositories for the publication and dissemination of scientific publications and related materials can already look back on a history of more than twenty years. During this period, there have been many developments in terms of technical optimization and the increase of content. It is crucial to observe and analyze this evolution in order to draw conclusions for the further development of repositories. The basis for such an analysis is data. The Open Archives Initiative (OAI) service provider Bielefeld Academic Search Engine (BASE) started indexing repositories in 2004 and has collected metadata also on repositories. This paper presents the main features of a planned repository monitoring system. Data have been collected since 2004 and includes basic repository metadata as well as publication metadata of a repository. This information allows an in-depth analysis of many indicators in different logical combinations. This paper outlines the systems approach and the integration of data science techniques. It describes the intended monitoring system and shows the first results.
www.mdpi.com
November 13, 2024 at 3:06 PM
Pyquery is a jQuery-like library for python. I'm never writing regexps for HTML parsing again. <a href="http://pyquery.org/" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky">http://pyquery.org/ /via @azaaza
Home
What’s in our blog Latest Python News
pyquery.org
November 7, 2024 at 4:08 AM
To summarize:

• Parsing HTML with regexps has a bad rap
• But parsing can mean many different things
• Modern regexps can overcome widely cited technical limitations
• But a parser is still a much better tool
• Still, if you can't use one, it's okay to try regexps
March 19, 2025 at 12:27 AM
PHP Regular Expressions 101:

Use comments and formatting.

Working with dense oneliners is a nightmare.

Working with tidy and annotated regexps is a breeze.

Do yourself a favor and enable comments and formatting with the "x" flag.
March 19, 2025 at 12:27 AM
PHP Regular Expressions refresher

Use lookarounds to make assertions inside regexps:

• Positive lookahead (?=)
• Negative lookahead (?=)
• Positive lookbehind (?&lt;)
• Negative lookbehind (?&lt;!)

See the thread 👇 🧵
March 19, 2025 at 12:27 AM
Just published my first 𝗶𝗻𝘁𝗲𝗿𝗮𝗰𝘁𝗶𝘃𝗲 𝗣𝗛𝗣 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹!

Learn the new Tag Processor API upcoming in WordPress 6.2 and say goodbye to clunky regexps.

Link in the thread 🧵👇
March 19, 2025 at 12:27 AM
When you're in Perl regexps, well, I'll give Larry credit for having come up with a simpler syntax, but it *is* confusing to have an escape sequence that means the same thing both inside and outside of a character class expression.
October 13, 2025 at 6:44 PM
Got my first fake like from a k*w*f*r*s account. Blocked immediately, of course. They used Unicode mathematical alphabets to disguise their terrorist affiliation from regexps.
November 23, 2024 at 11:39 PM
Kollege trollt mich, indem er ein Merge-Request ohne Description macht und wo er nur RegExps geändert hat.
https://x.com/xwolf/status/613654034612899841
December 28, 2024 at 11:00 PM