Documentation

Regex.Utils

Utils #

@[irreducible]
def Char.multiple (c : Char) (n : Nat) (acc : String) :

make String with n c chars

Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                Equations
                Instances For

                  get i char in s, tood: switch to String.Pos logic

                  Equations
                  Instances For

                    starts string m at codepoint i in s

                    Equations
                    Instances For

                      compute the byte position of the codepoint position p in s

                      Equations
                      Instances For
                        def String.toSpan (s : String) (startPos stopPos : Nat) :

                        make Substring of String

                        Equations
                        Instances For
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For