Comment

Comment by pyrolistical

Feels like something had gone very wrong if a function like this is useful.

Would only be useful for unstructured data since if you had structure data you could write a more specific function.

This can easily match the wrong value and cause problems. And why would it match the wrong value? Because you have unstructured data and it might not be knowable if you might have false positives

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton