String match invalid regex

A regression test script designed to verify how the Pine Script runtime handles an invalid regular expression within the str.match function.

Formula

\text{length}(\text{match}(\text{"abc"}, \text{"("})) \rightarrow \text{na} \text{ (due to invalid regex)}

See signal primitives, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home