Skip to main content

find_data_marker_byte

Function find_data_marker_byte 

Source
pub fn find_data_marker_byte(s: &str) -> Option<usize>
👎Deprecated:

Use find_data_marker_byte_lexed to avoid false positives in heredocs/POD

Expand description

Find the byte offset of a DATA or END marker in the source text. Returns the byte offset of the start of the marker line, or None if not found.