79125017

Date: 2024-10-25 09:15:06
Score: 0.5
Natty:
Report link

Capturing all segments of strings enclosed with double dollar signs $$, while ignoring any single dollar signs $.

const re2 = "\\$\\$[^$]+\\$\\$";
let range = docBody.findText(re2);

Reference:

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: EL SRY