package shcaml

  1. Overview
  2. Docs
type raw_line = {
  1. content : string;
  2. before : string;
  3. after : string;
}
type t = in_channel -> raw_line
val raw_of_string : ?before:string -> ?after:string -> string -> raw_line
val make : [ `Buf of eof:bool -> Buffer.t -> raw_line option | `Char of char | `Fixed of int * int | `Set of string ] -> t
val lines : t
val ignore_if : (string -> bool) -> t -> t
val join_on : char -> t -> t
val empty : string -> bool
val blank : string -> bool
val starts_with : string -> string -> bool
val ends_with : string -> string -> bool
val contains : ?regexp:bool -> string -> string -> bool