• 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
    14
    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
    12
    ·
    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

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

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

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

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

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

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

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

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

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

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

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