this post was submitted on 05 Sep 2023
78 points (88.2% liked)

Technology

73967 readers
4940 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 
[https://news.ycombinator.com/item?id=37396511](https://news.ycombinator.com/item?id=37396511)

yegg 1 hour ago | next [–]

Hi all (CEO & Founder, DuckDuckGo here). Looks like something may have broken in a release that went out today -- >it is triggering a JS error. We're looking into it now and should have it resolved soon. UPDATE: this should be fixed now.

all 18 comments
sorted by: hot top controversial new old
[–] Blizzard@lemmy.zip 20 points 2 years ago

Already fixed.

[–] RoyalEngineering@lemmy.world 10 points 2 years ago (2 children)

Wondering if someone could create a less tricky alternative to regex.

Cloudflare’s infamous outage was also one regex character off.

Regexng could result a longer string, but more human readable than plain old regex.

Basically regexng could be regex with more syntactic sugar.

[–] ThetaDev@lemm.ee 3 points 2 years ago

There is a projekt out there that offers a more human-readable language that compiles to plain regex.

https://pomsky-lang.org/docs/get-started/introduction/

[–] DirigibleProtein@aussie.zone 1 points 2 years ago

Wondering if someone could create a less tricky alternative to regex.

This is the only alternative I’ve ever seen. Good luck finding a working implementation.

[–] glad_cat@lemmy.sdf.org 9 points 2 years ago (1 children)
[–] leo@lemmy.linuxuserspace.show 9 points 2 years ago (1 children)

Good find. Relevant bit:

Hi all (CEO & Founder, DuckDuckGo here). Looks like something may have broken in a release that went out today -- it is triggering a JS error. We're looking into it now and should have it resolved soon.

[–] PeachMan@lemmy.one 14 points 2 years ago

They're not sanitizing their inputs properly. Little Bobby Tables strikes again!

[–] leo@lemmy.linuxuserspace.show 7 points 2 years ago (1 children)

I’d love to know the “why” behind this bug. Assuming it’s not actually a feature!

[–] Chewy7324@discuss.tchncs.de 6 points 2 years ago (1 children)
[–] magic_lobster_party@kbin.social 2 points 2 years ago

Looks more like they didn’t sanitize the input properly, causing the top result Notepad++ be interpreted as a regex.

[–] SpaceNoodle@lemmy.world 6 points 2 years ago

Might as well just go straight to Bing

[–] lath@lemmy.world 5 points 2 years ago* (last edited 2 years ago)
[–] db2@sopuli.xyz 4 points 2 years ago* (last edited 2 years ago)

That's super useful.

Edit: it was a blank results page when I posted this comment

[–] Bishma@discuss.tchncs.de 2 points 2 years ago

That's weird. So does notepad++

[–] SaltySalamander@kbin.social 1 points 2 years ago
[–] Roundcat@kbin.social -3 points 2 years ago

Just did it. literally the first result was for notepad ++

[–] Norgur@kbin.social -3 points 2 years ago

That's just not true mate.