Skip to content

Detect start of line #165

Description

@Krever

I'm trying to parse a format where different parts are separated by <start_of_line>#### fragment and so, I would like to be able to detect the <start_of_line>.

IMHO the logic should be similar to P.start | <prev_char = '\n'>.

I'm not sure if that matters, but I'm trying to parse Intellij HTTP client file format with an explicit requirement of supporting ### in the first line, so for example

###
// A basic request
http://example.com/a/

###

// A second request using the GET method
http://example.com:8080/api/html/get?id=123&value=content

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions