linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

danc4498, in My First Regular Expressions

I relearn regex from scratch every time I need to use it.

nis,

This is the way.

page, in Why do you use the terminal?

It’s easy and fun

rustyricotta, in My First Regular Expressions

I stumbled upon this regex crossword puzzle a while back. I was never good enough to get it, but it seems like it could be fun.

randomaside, in Why do you use the terminal?
@randomaside@lemmy.dbzer0.com avatar

I just think it’s neat!

FractalsInfinite, in Why do you use the terminal?

Because Gui’s don’t show advanced options and so I know/understand exactly what is being done. (e.g. I would always use apt over mint’s package store so I could see what it did, how much time I had left, download multiple applications at once and see if the package made a random config file somewhere)

FaceDeer, in My First Regular Expressions
@FaceDeer@kbin.social avatar

Just to chip in because I haven't seen it mentioned yet, but I fing LLMs like ChatGPT or Microsoft Copilot are really good at making regexes and also at explaining regexes. So if you're learning them or just want to get the darned thing to work so you can go to bed those are a good resource.

harsh3466,

You know, I haven’t yet used ChatGPT for anything, I might check it out for this reason.

spittingimage,
@spittingimage@lemmy.world avatar

I use it to tell me which page of the Pathfinder 1e manual I should look on for the rules I need.

IverCoder, in Flatpack, appimage, snaps..

IMO Flatpak is the best of them all. I don’t want to bother with repo packages that have complete and unnecessary access to my system. Flatpak neatly installs an app and isolates it, and if I no longer want it I can just easily click “Uninstall” on my Settings app without it leaving a mess or any trace behind, unlike repo packages that manage to screw something as simple as uninstalling itself.

Trent, in My First Regular Expressions

Just adding my congrats. Good job, OP. Regex is super useful stuff.

harsh3466,

Thank you!!!

helenslunch, in Why do you use the terminal?
@helenslunch@feddit.nl avatar

Because I have no other choice?

mcepl, (edited ) in Flatpack, appimage, snaps..
@mcepl@lemmy.world avatar

youtu.be/4WuYGcs0t6I (Richard Brown (FOSDEM 2023): “I was wrong about Flatpak, AppImage, and Snap”)

Thorry84, (edited ) in My First Regular Expressions

I can also recommend the book the TS mentioned, it is very good and after reading it you will understand regular expressions. It’s fine to use a cheat sheet if you want, cause if you don’t do it regularly the knowledge can sag, but the understanding is what matters. Also depending on the context, different implementations can have slightly different syntax or modifiers to be aware of.

I lent out the book to my brother once and he somehow lost it, so I never got it back. Don’t lend out book guys.

And remember not everything can be solved using a regular expression: xkcd.com/1171/

prowess2956, in My First Regular Expressions

I think the most impressive part of this is that your wife cares.

...does she have a sister?

sab,
@sab@kbin.social avatar

I'm currently seeing a girl I started dating after she had problems with her regex and I helped her out.

So far so good.

harsh3466,

She does but, I’d stay away from the sister. 🤣

olafurp, in Why do you use the terminal?

I run stuff in the terminal because it’s nicer than clicking. It’s like a shortcut-only way of interacting with the computer when you get into it.

I make aliases and bash functions for everything I do often and is tedious to type / click like running steam games.

mcepl, (edited ) in My First Regular Expressions
@mcepl@lemmy.world avatar

Give a man a regular expression and he’ll match a string… teach him to make his own regular expressions and you’ve got a man with problems. – yakugo in regex.info/blog/2006-09-15/247#comment-3022 (and yes, it is http:// never https:// for this domain)

harsh3466,

Guess I’ve got problems!

OpenStars, in My First Regular Expressions
@OpenStars@kbin.social avatar

Regexps are awesome! And also not at the same time:-P. 🎉 Congrats👏!:-)

harsh3466,

Thank you!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #