Skip to main content

match_unicode_line_terminator_offset1

Function match_unicode_line_terminator_offset1 

Source
pub fn match_unicode_line_terminator_offset1(bytes: &[u8]) -> bool
Expand description

\return true if bytes starts with the UTF-8 encoding of U+2028 or U+2029. bytes[0] is assumed to be UTF8_LINE_TERMINATOR_CHAR0 (the caller checked).

Line separator 
 UTF8 encoded is : e2 80 a8 Paragraph separator 
 UTF8 encoded is : e2 80 a9