zippy / ceptr

(a recomposable medium for distributed social computing) || (semantic self-describing protocol stacks)
http://ceptr.org
GNU General Public License v3.0
89 stars 17 forks source link

add handling of multi-char delimiters in stream #150

Open zippy opened 8 years ago

zippy commented 8 years ago

currently we only handle \n as the new line delimiter. Also need to handle CR-LF...

zippy commented 8 years ago

ccf1abfe64e32bc3 adds arbitrary delimiter handling to streams.

Still to do is add this into the LINE_BY_LINE flag check of file streams. It'll work just fine for any delimiter that ends in \n (as does CRLF) but, it doesn't work for the general case.