sorting associative array's keys by values

maarten van damme maartenvd1994 at gmail.com
Sun Jun 17 04:07:24 PDT 2012


well, the page I parse is automatically generated and thus allways
contains </html>. (if the page completely downloaded which it didn't).
The second error I found (my mistake) is that newlines get scrambled
up severely when downloading the page causing the markers I try to
find to sometimes break down on two different lines. replacechars from
std.string crashed too with the error "invalid utf sequence". Now I
use std.array's replace and everything (appears) to be working.


If only I'd learned regex, I think that would've saved me quite some time.


More information about the Digitalmars-d-learn mailing list