What is Nostr?
Ben Zanin /
npub12c2…tlg9
2024-01-25 13:27:46
in reply to nevent1q…9l2w

Ben Zanin on Nostr: npub1a4cfq…qt2kf I read through the issue in detail and I see your point, but I ...

npub1a4cfqcj5cq9qauuzz33rqq63kudnu6k7x4fe4xep93s7lu5hgk3szqt2kf (npub1a4c…t2kf) I read through the issue in detail and I see your point, but I think I have a different take here.

While you're right about the validation being possible with a parser or a regex, it would not take a huge regex to reject invalid input, merely a mildly more complicated one. To my reading the issue here is about development practices: the regex took less time to write, and because it yielded "looks right" behaviour early in the development process it disincentivized the rest of the work.
Author Public Key
npub12c2un6cf5j7e75mzxv5cjnyyuc8sek2asyd0h0v8j83fxzke60lqcdtlg9