Re: Buffer Size Command Hanging - WeOnlyDo Discussion board

Re: Buffer Size Command Hanging (General questions)

by mmorton, Wednesday, July 08, 2009, 11:16 (5618 days ago) @ wodDamir

Hi,

vbCrLf works and so I dont need to change this.

For Example
If I have the following lines in the buffer.

String 1

String 2

String 3

String 4

String 5


The following regex expression works regex:UAF>|vbCrLF. The problem is the waitfor using this regex expression returns String 1. It leaves the
in the buffer so I end up with this.

String 2

String 3

String 4

String 5


Which means it then goes into a loop because it doesnt actually remove the carriage return from the buffer.

If I use waitfor(vbCrLF) it returns String 1
therefore removing the carriage return from the buffer.

Regards
Mike


Complete thread: