this post was submitted on 05 Sep 2023
86 points (89.1% liked)

Technology

59997 readers
2848 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 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
[–] [email protected] 23 points 1 year ago

Already fixed.

[–] RoyalEngineering 10 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.

[–] [email protected] 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/

[–] [email protected] 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.

[–] [email protected] 9 points 1 year ago (1 children)
[–] [email protected] 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.

[–] [email protected] 17 points 1 year ago

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

[–] [email protected] 9 points 1 year ago (1 children)

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

[–] [email protected] 7 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

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

[–] lath 6 points 1 year ago* (last edited 1 year ago)
[–] SpaceNoodle 6 points 1 year ago

Might as well just go straight to Bing

[–] [email protected] 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

[–] [email protected] 3 points 1 year ago
[–] [email protected] 2 points 1 year ago

That's weird. So does notepad++

[–] [email protected] -3 points 1 year ago

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

[–] [email protected] -3 points 1 year ago

That's just not true mate.