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.
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.