zachleat’s avatarzachleat’s Twitter Archive—№ 22,890

  1. In today’s edition of Thing I Just Learned But Probably Should’ve Known Already™ (let’s call it #TIJLBPSKA): String.prototype.split using a regex with capturing parenthesis includes the matched string in the array of results! Neat. Thanks @MozDevNet! developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/split#Splitting_with_a_RegExp_to_include_parts_of_the_separator_in_the_result
    oh my god twitter doesn’t include alt text from images in their API