@xo-cash/engine
    Preparing search index...

    Function extractCashAssemblyEvaluations

    • Extracts all CashAssembly evaluations (i.e., substrings like $(...)) from the input text.

      Parameters

      • text: string

        The input string to scan for CashAssembly evaluations.

      Returns string[]

      An array of evaluation strings found in the input.

      extractCashAssemblyEvaluations("OP_DUP <$(<foo>)> OP_HASH160 $(<bar>)");
      // returns ['$(<foo>)', '$(<bar>)']