[Pharo-users] OrderedCollection get all lines

Valentin Ryckewaert valentin.ryckewaert at gmail.com
Wed May 11 10:15:09 EDT 2016


Hi,

I would like to reproduce the grep command in Pharo.
To do it I wanted to get the content of a stream and transform it to an
OrderedCollection (to use matchesRegex: on it).

First of all, is there an easier way to do it?
In a second time, is there a method to get the content of a Stream as an
OrderedCollection ? (nextLine exists so I could use it to get my
OrderedCollection but is there an easier way?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160511/0fa31231/attachment.html>


More information about the Pharo-users mailing list