evilchili, to Canada
@evilchili@linernotes.club avatar

Hey Canadian nerds! I have held the domain registration for regex.ca for a very long time. When I lived in Canada it was my primary domain, but I haven't used it for years. Does anyone on the fediverse have a good use for it?

I'm going to release it but if you've got a good pitch I'll pay for a 1 year renewal and then transfer it to your ownership.

Please boost for visibility kthx!

stux, to RegEx
@stux@mstdn.social avatar

How to #REGEX

hennell, to RegEx
@hennell@phpc.social avatar

This is pretty neat. A better way to in ? 🤔

https://github.com/gherkins/regexpbuilderphp

morax, to RegEx
@morax@satanodon.com avatar
tantramar, to random
@tantramar@nojack.easydns.ca avatar

understanding regular expressions enough to get real work done with them is a double-edged sword: it’s a power verging on magic, but it also lures you down the time-suck/rabbit-hole. @bbedit

fkinoshita, to GNOME

I just released Wildcard, a development utility for testing/practicing regular expressions, check it out on Flathub!

https://flathub.org/apps/io.github.fkinoshita.Wildcard

Colarusso, to RegEx
@Colarusso@mastodon.social avatar

Geekery Notice: RegEx!!!

In addition to being an open source client-side RSS reader with an algo-driven timeline that keeps your votes and searches on your device, https://myrssalgo.org just added a bunch of RegEx¹ functionality.

Yes, there’s a RegEx-enabled search, but wait for it… now you can use RegEx to promote and mute content in your timeline—the dream is real!


¹ https://www.codingthelaw.org/Fall_2020/level/5/#intro_vid

tedivm, to tech
@tedivm@hachyderm.io avatar

In my book I talk a bit about regular expressions, but don't want to turn a Terraform book into a regex book.

What is the best resource- book, blog, tutorial, video, etc- that I could point someone to for them to learn more about regular expressions?

rich, to StableDiffusion
@rich@mastodon.gamedev.place avatar

Why bother crafting prompts for when this
(?:@)(A-Za-z0-9_?)

reliably generates you a yellow corvette...

markstos, to RegEx
@markstos@urbanists.social avatar

This deadly was included in an .npmignore file:

.db

It broke the day a build generated a file with a randomly generated hash included .db in the middle of the file name:

chunk.208.dbf172ad32f72f21a5dc.js

devs: Check your .npmignore files to day to make sure you use wildcards at the beginning or end of the line, but not both!

https://github.com/TryGhost/Ghost/commit/d4217bd3216569afd359cf2d0f3cf886ba36d85a

leobm, to RegEx German
@leobm@norden.social avatar

The ?x modifier/flag is nice, never used it before.
Makes it possible to include commentary inside complicated patterns.

original source: https://polar.sh/eval/posts/named-capturing-groups-in-clojure

postmodern, to ruby
@postmodern@ruby.social avatar

Protip: if you want to validate international text, never use [A-Za-z] in your regexs. Use \p{L} (unicode letter), \p{Lu} (uppercase unicode), \p{Ll} (lowercase unicode).
https://ruby-doc.org/3.2.2/Regexp.html#class-Regexp-label-Character+Properties

anand7253, to programming

I'm still designing my language.

Why not just introduce RegExps into pointers?

int a; / nonnull pointer to single int */
int ?a; / can-be-null pointer to single int /
int +a; /
nonnull pointer to array begining */
int +?a;

Isn't using the nonnull attribute a bit long?

Now yes, I don't see the point of + and +?, but there is the 'array of unspecified length' syntax:
int *argv[];
so why not?

#c

stealthmusic, to RegEx
@stealthmusic@mastodon.online avatar

always succeeds in surprising me. It has a built-in tester that allows testing and changing the expression directly in your code, dealing with all the nasty escaping that is required in Java. It even highlights matching groups. 💚

vwbusguy, (edited ) to ruby
@vwbusguy@mastodon.online avatar

Some have said that I am capable of writing in any language. Behold my .

davidbisset, to php
@davidbisset@phpc.social avatar

"Human-readable regular expressions for " 🤔

https://github.com/gherkins/regexpbuilderphp

profoundlynerdy, to raku
@profoundlynerdy@bitbang.social avatar

What are some underappreciated superpowers that and/or has EXCLUDING and ?

samsteiner, to RegEx German
@samsteiner@swiss.social avatar

Sunday Fun. 🎉

villetakanen, to RegEx
@villetakanen@mementomori.social avatar
vwbusguy, (edited ) to Ansible
@vwbusguy@mastodon.online avatar

My playbook failed because an otherwise legitimate variable input broke the lineinfile regex parser and I couldn't report about it in the PR review, since it broke some kind of validation for issue comments in . is hilarious.

alter_unicorn, to RegEx
@alter_unicorn@masto.bike avatar
mgorny, to RegEx Polish
@mgorny@pol.social avatar

Paczka Pythona (nie mylić z wbudowanym modułem re) zbudowana jest w oparciu o szczegóły implementacji CPythona i nie obsługuje poprawnie (i autor zapowiada, że może w końcu zablokować kompilację na PyPy). Jednakże wygląda na to, że wymagająca jej paczka działa bez problemów ze zwyczajnym re.

Dzisiaj przechodzi z łatania w sposób niedoskonały paczki regex, i ignorowania szczególnych przypadków, w których nie zadziała, na rzecz łatania re-assert. Chciałbym wysłać tę trywialną łatkę autorowi, ale — jak już wcześniej narzekałem — dostałem niegdyś bana, autor nie potrafi powiedzieć dlaczego, ale nie przeszkadza mu to uważać bana za sprawiedliwego. Może po prostu proaktywnie banuje devów dystrybucji Linuksa.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8413cf2c2955533fdf212fea3970c99cf193d4a1
https://github.com/mrabarnett/mrab-regex/issues/521
https://github.com/mrabarnett/mrab-regex/issues/404

NireBryce, to RegEx
@NireBryce@hachyderm.io avatar

does there yet exist any application that can take a multi-selection and spit out a #regex that will match that in any file going forward?

villares, to RegEx
@villares@ciberlandia.pt avatar

"I hate , but I think this worked fine. I used , a helper to find and replace stuff on multiple files, for those [of us] less well versed with the traditional CLI regex workflow."

Any other tips for user friendly find-and-replace tools?

https://github.com/py5coding/py5generator/issues/350#issuecomment-1752025818

maxleibman, to RegEx
@maxleibman@mastodon.social avatar

I’ve got an email-parsing project that will require some serious regular expressions.

It’s been a long while since I’ve written any regex. Can anybody recommend any good resources for putting off or avoiding doing it?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines