public static rgc_buffer_bol_p ( input_port p ) : bool | ||
p | input_port | |
return | bool |
public static bool rgc_buffer_bol_p( input_port p )
{
if (p.matchstart > 0)
return (p.buffer[p.matchstart - 1] == '\n');
else
return (p.lastchar == (byte)'\n');
}