4 ms·
That makes more sense. I'm sure there could be some language out there where a empty strings length could be 7.
by bobajeff 3y ago
That makes more sense. I'm sure there could be some language out there where a empty strings length could be 7.
- dabluecaboose 3y agoI have to admit, I gave that thought a bit too much time before I clicked the link and discovered what the title should have said
- MiddleEndian 3y agoBased on the title, I assumed it was gonna be something about smart quotes, and I thought, "of course, another reason to hate smart quotes!"
- jakear 3y agoNot sure if HN will handle it, but this empty string's length is 7: ' ' ( '\u200b'.repeat(7) ) Edit: HN does not, in fact, handle it.
- dingledork69 3y agoHN does, in fact, handle it, and chose to discard it.
- bombcar 3y agoYou need to use the latest and greatest: Awww dang they updated the filter, booo
- TeMPOraL 3y agoYou can remove the word "they" from your comment and it'll still work for this site.
- jakear 3y agoIn the CIA since of "we need to handle these democratically elected leaders", perhaps. But if I was selling you a drop-in comment widget and boasted "it handles all of Unicode", but really I was just running s/[^ -~]+/ /g, wouldn't you feel a bit let down?