💾 Archived View for koyu.space › aartaka › public › regex-pronouns.gmi captured on 2024-06-16 at 12:15:21. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
By Artyom Bologov
I have a friend who lists
as vis pronouns.
It's obviously a programmer joke, but quite an illuminating one.
vi/vim pair is conventionally contracted to vi(m) shortcut pattern.
Why not apply that regex-y approach to other pronouns?
The syntax I'm suggesting is not necessarily PCRE or POSIX regex.
I'm rather suggesting a sloppy soup of PCRE, UNIX wildcards, and English.
Kind of like what programmers do when they talk about *nix, GNU/Linux, or jpe?g.
Binary pronouns are a bad example: /h(e|im)/ might
but it's a pain to type.
Another binary pronoun pair regex that I can come up with is a horrifying /s?her?/.
Not only it looks out of this world, it's also bad at describing the structure of the pronouns.
Is it she? her? sher? he?
So messy.
Other, less widespread pronouns are much better as regex pronouns:
Neat, huh?
My pronouns officially are /t?he(y|m)?/ now, what are yours?
Update: thanks to many people
This post now has better regex start/end markers and better expressions for where I had unoptimized syntax.
And to
people of r/programminghorror,
for productive feedback.
This website is
and generated with the help of
You can view page sources by appending .h to the page URL.
Copyright 2022-2024 Artyom Bologov (aartaka).
Any and all opinions listed here are my own and not representative of my employers; future, past and present.