Function fromTo

  • Match from, then find to. If acceptEof is true, accept buffer even to is not found.

    Parameters

    • from: string | RegExp
    • to: string | RegExp
    • options: {
          acceptEof: boolean;
      }
      • acceptEof: boolean

    Returns Action

Generated using TypeDoc