#regularexpression — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #regularexpression, aggregated by home.social.
-
When the killer bots come...
...Remember to have your #regularexpression /parser gun ready.../\//\\{}\\//// Are like holy water to vampires for Ai
I just managed to crash Claude #Sonnet session TWICE with a stack of those.
-
Programming Languages I Have Known and Loved (and Hated) https://lowendbox.com/blog/programming-languages-i-have-known-and-loved-and-hated/ #regularexpression #Editorial&News #applescript #javascript #assembler #smalltalk #assembly #algol68 #FORTRAN #haskell #redcode #scratch #erlang #golang #PASCAL #pl/sql #prolog #python #algol #basic #batch #cobol #dbase #elisp #emacs #forth #regex #swift #bash #java #lisp #perl #PL/I #ruby #Rust #ada #apl #awk #csh #JCL #ksh #lua #PHP #rpg #SQL #go #m4 #c #r
-
Programming Languages I Have Known and Loved (and Hated) https://lowendbox.com/blog/programming-languages-i-have-known-and-loved-and-hated/ #regularexpression #Editorial&News #applescript #javascript #assembler #smalltalk #assembly #algol68 #FORTRAN #haskell #redcode #scratch #erlang #golang #PASCAL #pl/sql #prolog #python #algol #basic #batch #cobol #dbase #elisp #emacs #forth #regex #swift #bash #java #lisp #perl #PL/I #ruby #Rust #ada #apl #awk #csh #JCL #ksh #lua #PHP #rpg #SQL #go #m4 #c #r
-
Regular expression (Regex) is a skill I wish I have a better grasp on; but I’m slowly learning! For example, I often find myself searching for a particular string pattern to replace it with something else...
Read full note: <https://burgeonlab.com/notes/2026/0612-52940/>
This is post 55 of #100DaysToOffload
<https://burgeonlab.com/tags/100daystooffload/> -
Regular expression (Regex) is a skill I wish I have a better grasp on; but I’m slowly learning! For example, I often find myself searching for a particular string pattern to replace it with something else...
Read full note: <https://burgeonlab.com/notes/2026/0612-52940/>
This is post 55 of #100DaysToOffload
<https://burgeonlab.com/tags/100daystooffload/> -
RE#: how we built the world's fastest regex engine in F#, https://iev.ee/blog/resharp-how-we-built-the-fastest-regex-in-fsharp/.
Excellent blog post!
Very interesting approach with new operations: intersection (&) and complement (~).Implementation: https://github.com/ieviev/resharp-dotnet
Research paper: https://dl.acm.org/doi/abs/10.1145/3704837 (POP25) -
RE#: how we built the world's fastest regex engine in F#, https://iev.ee/blog/resharp-how-we-built-the-fastest-regex-in-fsharp/.
Excellent blog post!
Very interesting approach with new operations: intersection (&) and complement (~).Implementation: https://github.com/ieviev/resharp-dotnet
Research paper: https://dl.acm.org/doi/abs/10.1145/3704837 (POP25) -
𝗥𝗲𝗴𝗲𝘅 𝗟𝗲𝗮𝗿𝗻:
#Regex #RegularExpression #Regex #Learn
https://thewhale.cc/posts/regex-learn
Learn Regex step by step, from zero to advanced. Learning Regex is easier than you think. You can use this tool to easily learn, practice, test and share Regex.
-
My tip of the of the day.
To match a literal dot "." with a regular expression, write
"[.]"
instead of
"\\." or "\\\\." or even "\\\\\\\\.",
depending on context. 😀
#regex #regexp #regularexpression #programming #stringmatching
-
Sharkey supports Regular Expressions for your hard and soft word mutes. Mastodon should too! If not raise holy hell with them.
The syntax for a case-insensitive #RegEx (#RegularExpression) for blocking "international airport" or "physical therapy" would be:/.*international ?airport*./i/.*physical ?therapy*./i
This would match:
- international airport
- International Airport
- InternationalAirport
And so on. Also, I'm purposefully not using any common triggers so as not to trigger any one.
Once you go regex in your word mutes you'll never want to go back to plain words ever again.
RE: https://social.growyourown.services/users/FediTips/statuses/114604240538234292 -
How do I use regular expressions to mute specific terms without muting them if they're just part of a word?
So like, in a stupid example:
I want to block "lol" but not "testloltest"
#regularexpressions #regularexpression #sharkey #misskey #wordmute -
How do I use regular expressions to mute specific terms without muting them if they're just part of a word?
So like, in a stupid example:
I want to block "lol" but not "testloltest"
#regularexpressions #regularexpression #sharkey #misskey #wordmute -
Regular Expression Derivatives in Python [pdf] [video]
#HackerNews #RegularExpression #Derivatives #Python #FOSDEM2018 #Programming #Tutorials
-
Regular Expression Derivatives in Python [pdf] [video]
#HackerNews #RegularExpression #Derivatives #Python #FOSDEM2018 #Programming #Tutorials
-
My PhD student was still feeling uncomfortable with #regex, so I searched and found these awesome regex games that can help you improve your regex-fu and help you have some fun during your daily commute:
https://www.the-regex-game.com/?level=integer
and this imho is more geared towards beginners:
-
My PhD student was still feeling uncomfortable with #regex, so I searched and found these awesome regex games that can help you improve your regex-fu and help you have some fun during your daily commute:
https://www.the-regex-game.com/?level=integer
and this imho is more geared towards beginners:
-
-
Just saw someone use "regexpert".
Gonna have to remember that one.
#programming #RegEx #RegularExpression #expert #TwoProblems #NowIHaveTwoProblems #NowYouHaveTwoProblems #regexpert
-
Just saw someone use "regexpert".
Gonna have to remember that one.
#programming #RegEx #RegularExpression #expert #TwoProblems #NowIHaveTwoProblems #NowYouHaveTwoProblems #regexpert
-
At some point there had to be a competition for who can create the most fked up syntax for regular expressions. And I feel like #vim was probably in the top three. Non-greedy being \{-} is WILD.
(Yes, I'm aware of the history, it's a joke. But also apparently nobody ever thought about standardizing it for developer's sanity)
#regex #regularexpression -
At some point there had to be a competition for who can create the most fked up syntax for regular expressions. And I feel like #vim was probably in the top three. Non-greedy being \{-} is WILD.
(Yes, I'm aware of the history, it's a joke. But also apparently nobody ever thought about standardizing it for developer's sanity)
#regex #regularexpression -
Things I Learned Today
#TILT #bash #linux
Still working on #regularExpression in bash.re='^~\s~\s~'
if [[ "${lineN}" =~ ${re} ]] ; then bla bla bla...The extra variable declaration is needed; found on web
"While not always necessary, it is advisable to store the regex in a variable first, because Bash has trouble with regex literals containing \." -
Things I Learned Today
#TILT #bash #linux
Still working on #regularExpression in bash.re='^~\s~\s~'
if [[ "${lineN}" =~ ${re} ]] ; then bla bla bla...The extra variable declaration is needed; found on web
"While not always necessary, it is advisable to store the regex in a variable first, because Bash has trouble with regex literals containing \." -
Things I Learned Today
#TILT #bash #linuxIt took me while to figure this out and now I remember that I fell in this hole before.
When using #regularExpression like:
if [[ ! ${suffix} =~ .*voScript.txt$ ]] ; then echo "something" ;fi
do NOT quote the regular expression. It is not a string.
-
Things I Learned Today
#TILT #bash #linuxIt took me while to figure this out and now I remember that I fell in this hole before.
When using #regularExpression like:
if [[ ! ${suffix} =~ .*voScript.txt$ ]] ; then echo "something" ;fi
do NOT quote the regular expression. It is not a string.
-
Best answer on regexps ever? 🧐 😎
- What is the plural form of regex?
- If you've used more than one of them, you'll know that the plural of "regex" is "regrets." – cjs (Mar 14, 2022 at 23:46)
#regex #regexps #programmer #programming #devops #regularexpression
-
Best answer on regexps ever? 🧐 😎
- What is the plural form of regex?
- If you've used more than one of them, you'll know that the plural of "regex" is "regrets." – cjs (Mar 14, 2022 at 23:46)
#regex #regexps #programmer #programming #devops #regularexpression
-
Hackaday Links: August 11, 2024 - “Please say it wasn’t a regex, please say it wasn’t a regex; aww, crap, it was a r... - https://hackaday.com/2024/08/11/hackaday-links-august-11-2024/ #regularexpression #hackadaycolumns #hackadaylinks #wiringharness #crowdstrike #bassinette #lithiumion #rootcause #bricking #wildcard #paywall #doggo #pylon #regex #tower #fire #grid #iot
-
Hackaday Links: August 11, 2024 - “Please say it wasn’t a regex, please say it wasn’t a regex; aww, crap, it was a r... - https://hackaday.com/2024/08/11/hackaday-links-august-11-2024/ #regularexpression #hackadaycolumns #hackadaylinks #wiringharness #crowdstrike #bassinette #lithiumion #rootcause #bricking #wildcard #paywall #doggo #pylon #regex #tower #fire #grid #iot
-
[Portable App] BinHex CryPactor - Manipulate Binary and Hexadecimal Strings.
https://www.softpedia.com/get/Programming/Packers-Crypters-Protectors/BinHex-CryPactor.shtml
.
#Bin #Binary #HEX #Hexadecimal
#Encrypt #Decrypt #Compact #Uncompact
#Regex #RegularExpression #unicode
#Windows #windows11 #windows10 #Windows7
#portableapps -
#PCRE4J 0.3.0 has been released (#Java / #PCRE2 / #PCRE / #PerlCompatibleRegularExpressions / #Perl / #RegularExpression) https://pcre4j.org/
-
#PCRE4J 0.3.0 has been released (#Java / #PCRE2 / #PCRE / #PerlCompatibleRegularExpressions / #Perl / #RegularExpression) https://pcre4j.org/
-
PCRE( Perl Compatible Regular Extension) maintainer is needed.
-
PCRE( Perl Compatible Regular Extension) maintainer is needed.