Detects whether a string is a pure CashAssembly expression.
CashAssembly expressions look like $(<variable>) or $(<a> <b>). This pattern checks
that the entire string is one such expression and nothing else. It will not match if
there is other text surrounding the expression.
For example:
$(<fee>) matches (a full expression)
OP_DUP $(<fee>) does not match (extra text before it)
$() does not match (empty expression)
Detects whether a string is a pure CashAssembly expression.
CashAssembly expressions look like
$(<variable>)or$(<a> <b>). This pattern checks that the entire string is one such expression and nothing else. It will not match if there is other text surrounding the expression.For example:
$(<fee>)matches (a full expression)OP_DUP $(<fee>)does not match (extra text before it)$()does not match (empty expression)