apps script findText for docs
I know that the findText function for Google Doc elements doesn't use regular regex (it uses RE2 , instead). I'm coming up against a regex issue where a validated, relatively simple, and seemingly supported regex block is paradoxically returning a null result in Apps Scripts. Wondering if anyone can spot/explain the reason. Thanks! I'm applying the code below to a block of text with some markdown code block ticks (```). The RegEx returns correct results when I paste the regex shown below into regexer.com with a similar code block. However, running the code below on my doc is returning a null