github.com/MontFerret/ferret@v0.18.0/e2e/tests/dynamic/doc/inner_text/set.fql (about)

     1  LET url = @lab.cdn.dynamic
     2  LET doc = DOCUMENT(url, true)
     3  
     4  LET expected = `Hello`
     5  
     6  INNER_TEXT_SET(doc, "body", expected)
     7  
     8  LET actual = INNER_TEXT(doc, "body")
     9  
    10  LET r1 = '(\s|\")'
    11  LET r2 = '(\n|\s|\")'
    12  
    13  RETURN T::EQ(REGEX_REPLACE(TRIM(actual), r2, ''), REGEX_REPLACE(expected, r1, ''))