this post was submitted on 05 Sep 2023
82 points (88.7% liked)

Technology

59118 readers
6622 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 content.
  3. Be excellent to each another!
  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, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year 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 22 points 1 year ago

Already fixed.

[–] RoyalEngineering@lemmy.world 9 points 1 year 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 1 year 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 1 year 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 1 year ago (1 children)
[–] leo@lemmy.linuxuserspace.show 10 points 1 year 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 17 points 1 year ago

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

[–] leo@lemmy.linuxuserspace.show 9 points 1 year ago (1 children)

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

[–] Chewy7324@discuss.tchncs.de 7 points 1 year ago (1 children)

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 1 year ago

Might as well just go straight to Bing

[–] lath@lemmy.world 6 points 1 year ago* (last edited 1 year ago)
[–] db2@sopuli.xyz 4 points 1 year ago* (last edited 1 year ago)

That's super useful.

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

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

That's weird. So does notepad++

[–] SaltySalamander@kbin.social 1 points 1 year ago
[–] Norgur@kbin.social -3 points 1 year ago

That's just not true mate.

[–] Roundcat@kbin.social -3 points 1 year ago

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