the implementation of the -d option: we were skipping too many characters when a non-alphanumeric character was encountered.