ok, now really pushing it:

(https://en.wikipedia.org/wiki/Resident_Evil_(film_series))

Reply to this note

Please Login to reply.

Discussion

nostr:nprofile1qyvhwumn8ghj76rzwghxxmmjv93kcefwwdhkx6tpdshsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0qy88wumn8ghj7mn0wvhxcmmv9uq3qamnwvaz7tm99ehx7uewd3hkctcppemhxue69uhkummn9ekx7mp0qqsf03c2gsmx5ef4c9zmxvlew04gdh7u94afnknp33qvv3c94kvwxgs9w8d3z little tip with the URL recognition, if the http has ( before it you probably can ignore the last )

it is VERY rare situation that someone places a URL, inside brackets, and remembers to close them without adding a space between

so rare, that you can basically assume that if a URL has )) at the end, the second one is probably invalid

Your proof that it is rare that users forget spaces when using brackets is the same as my proof that there are more uses that use brackets then URLs that have them

In other words its all pretty much subjective

no, it's really not, because there is not whitespace inside URLs, URLs are almost always bounded by whitespace

thus, when you find whitespace, it marks boundaries around the matched URL and you know that a second ... fucking... close brace... is actually, not part of the URL! idk how to say this couldn't be more obvious

it's a small piece of logic that you have been spoiled to never learn how to actually write a lexical analyser and this reminds me that the majority of the devs in the world couldn't write a lexical analyser if their life depended on it

i learned how to do it, working from a text that was part of first year computer science when i was 15 years old

you guys both just utterly lost my respect tonight

also, you are saying this to someone who wrote a fully effective json parser from scratch for the entire nostr protocol spec, that is fully compliant, and always works, except for a few wrongly escaped json strings from old events mostly