• katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    14
    ·
    8 months ago

    open up google

    search for exactly the result you want

    find an answer on stack exchange that isn’t just “nevermind figured it out”

    copy and paste into your code

  • Norgur@fedia.io
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    8 months ago

    Coworker: “Hey, I got this really cool new tool that will solve this data filtering problem you had” Me:: “Cool! Let me check out the filters!” Coworker. “They are awesome and work by RegEx!” Me: “Nope, not interested.” Coworker: “But… it fits your needs exactly” Me: “I. said. NOT. INTERESTED!”

  • tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    8 months ago
    while :; do curl -X POST -d '{"text": "Removed by mod" }' https://lemmy.ml/post/13463433; done
    

    Nothing to see here folks

    • Digital Mark@lemmy.ml
      link
      fedilink
      English
      arrow-up
      8
      ·
      8 months ago

      There’s other, more verbose, regular expression languages, for instance SRFI-115 for Scheme. But the hard part isn’t the syntax, but actually thinking about patterns, so it won’t help you any.

      Just get the O’Reilly bat book and learn. So what if it overwrites 10% of your brain and you can’t remember your mother’s face, you’ll have a useful skill.

  • stewie410@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    8 months ago

    I don’t know all of the regex rules (look ahead/behind, etc); but it’s honestly not that bad. If you can learn the syntax for a programming language, you can learn the basics of regex…

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      8 months ago

      Sure, learning basics of regex is not that hard, but complex regex expressions can easily become impenetrable. I actually like the verbal expressions idea where you write out the regex using a long form and that gets compiled into the actual regex, e.g:

      const tester = VerEx()
          .startOfLine()
          .then('http')
          .maybe('s')
          .then('://')
          .maybe('www.')
          .anythingBut(' ')
          .endOfLine();
      

      That seems like the best of both world approach to me.

      • stewie410@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        My brief experience with LINQ has also taught me to prefer this type of thing as well; though I still use regex on a daily basis most of the time, given my environment.

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    SEETHE FEED ON LEMMY FUCK SEED CITY SLICKER FUCK FUCK FOR FREE SUCK HOT POCKETS PARK AVENUE MANICURE GUCCI LOAFERS ON LEMMY FANCY GERMAN CAR CHUCK’S DILATE CLEAN IT UP FLOYD AND FANCY GERMAN CAR JANNIES HOT POCKETS ON LEMMY ON LEMMY DILATE CITY SLICKER SNEED CITY SLICKER CHUCK’S JANNY PARK AVENUE MANICURE CITY SLICKER DILATE AND SEETHE SEETHE FEED GUCCI LOAFERS FLOYD SEETHE PARK AVENUE MANICURE I CAN’T CLEAN IT UP I CAN’T SUCK CHUCK SUCK FANCY GERMAN CAR FOR FREE

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    SNEED HOT POCKETS SNEED SEED JANNIES JANNIES CITY SLICKER FLOYD SEETHE ON LEMMY PARK AVENUE MANICURE HOT POCKETS COPE CLEAN IT UP JANNIES SNEED’S FOR FREE PARK AVENUE MANICURE FUCK ON LEMMY CITY SLICKER PARK AVENUE MANICURE AND GUCCI LOAFERS SEED DILATE CITY SLICKER JANNIES JANNY FANCY GERMAN CAR SNEED HOT POCKETS SEED FEED FLOYD SUCK CHUCK’S PARK AVENUE MANICURE FANCY GERMAN CAR FANCY GERMAN CAR CHUCK’S GUCCI LOAFERS FLOYD COPE COPE SEETHE SNEED AND CHUCK’S SEED

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    CITY SLICKER I CAN’T CHUCK ON LEMMY SNEED’S SUCK COPE SUCK I CAN’T FUCK CLEAN IT UP PARK AVENUE MANICURE I CAN’T SNEED CHUCK FEED JANNY DILATE FANCY GERMAN CAR AND SNEED HOT POCKETS SEETHE FOR FREE CITY SLICKER FLOYD SUCK SNEED HOT POCKETS FEED JANNIES JANNY AND HOT POCKETS ON LEMMY SUCK FOR FREE COPE JANNIES JANNIES CLEAN IT UP SNEED’S GUCCI LOAFERS HOT POCKETS SNEED’S CHUCK SEED ON LEMMY HOT POCKETS PARK AVENUE MANICURE

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    FEED GUCCI LOAFERS FUCK CHUCK CLEAN IT UP FUCK JANNIES PARK AVENUE MANICURE AND CLEAN IT UP FEED CHUCK’S FANCY GERMAN CAR COPE COPE JANNY PARK AVENUE MANICURE JANNIES CLEAN IT UP FEED FLOYD I CAN’T SEETHE FUCK SNEED’S ON LEMMY SEETHE SEED I CAN’T FLOYD CLEAN IT UP SEETHE DILATE FANCY GERMAN CAR PARK AVENUE MANICURE HOT POCKETS SUCK SEED JANNY SUCK CHUCK’S AND ON LEMMY SNEED I CAN’T CHUCK CHUCK’S FLOYD I CAN’T GUCCI LOAFERS

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    I CAN’T SEETHE SNEED SEED JANNY FLOYD CHUCK’S GUCCI LOAFERS JANNY FLOYD JANNIES SEETHE PARK AVENUE MANICURE CHUCK SEETHE GUCCI LOAFERS AND SEETHE I CAN’T SEED SEETHE CLEAN IT UP GUCCI LOAFERS HOT POCKETS HOT POCKETS HOT POCKETS PARK AVENUE MANICURE I CAN’T SNEED’S FUCK ON LEMMY GUCCI LOAFERS JANNY CLEAN IT UP DILATE SUCK SNEED’S SNEED ON LEMMY PARK AVENUE MANICURE AND I CAN’T JANNIES HOT POCKETS SEED CITY SLICKER CHUCK JANNY DILATE SNEED

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    JANNY CITY SLICKER FOR FREE DILATE FOR FREE GUCCI LOAFERS SNEED FANCY GERMAN CAR JANNY GUCCI LOAFERS HOT POCKETS FUCK FEED SNEED FEED HOT POCKETS SUCK SEED SEED FANCY GERMAN CAR JANNIES JANNY FANCY GERMAN CAR FEED SUCK CHUCK’S CITY SLICKER AND HOT POCKETS GUCCI LOAFERS AND SNEED’S CLEAN IT UP SNEED I CAN’T ON LEMMY CLEAN IT UP GUCCI LOAFERS SUCK CLEAN IT UP I CAN’T AND CITY SLICKER JANNY FOR FREE FOR FREE FEED JANNIES I CAN’T CLEAN IT UP

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    CHUCK SUCK PARK AVENUE MANICURE JANNY CITY SLICKER FANCY GERMAN CAR HOT POCKETS HOT POCKETS I CAN’T DILATE PARK AVENUE MANICURE ON LEMMY CITY SLICKER I CAN’T HOT POCKETS FOR FREE SEED DILATE CHUCK CHUCK’S FOR FREE SUCK CITY SLICKER SEETHE PARK AVENUE MANICURE GUCCI LOAFERS ON LEMMY HOT POCKETS HOT POCKETS SUCK HOT POCKETS ON LEMMY GUCCI LOAFERS DILATE SEED PARK AVENUE MANICURE ON LEMMY FUCK SNEED’S SEED GUCCI LOAFERS FANCY GERMAN CAR PARK AVENUE MANICURE CLEAN IT UP CHUCK’S SEED FLOYD JANNIES CHUCK’S FEED

  • ThuleanPerspective@eviltoast.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    GUCCI LOAFERS FLOYD CHUCK FOR FREE AND AND SEETHE COPE ON LEMMY FANCY GERMAN CAR SEETHE HOT POCKETS CITY SLICKER CITY SLICKER FEED CLEAN IT UP AND SEETHE FOR FREE FUCK JANNY SUCK I CAN’T SNEED’S FUCK COPE JANNIES COPE JANNY PARK AVENUE MANICURE FLOYD SUCK CHUCK’S HOT POCKETS GUCCI LOAFERS SNEED’S JANNIES DILATE SNEED HOT POCKETS AND FLOYD FOR FREE CITY SLICKER AND FLOYD JANNY SEETHE I CAN’T JANNIES