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

     1  LET url = @lab.cdn.dynamic
     2  LET doc = DOCUMENT(url, true)
     3  
     4  LET expected = `Ferret
     5  Forms
     6  Navigation
     7  Events
     8  iFrame
     9  Welcome to Ferret E2E test page!
    10  It has several pages for testing different possibilities of the library
    11  `
    12  LET actual = INNER_TEXT(doc)
    13  
    14  LET r1 = '(\n|\s)'
    15  LET r2 = '(\n|\s)'
    16  
    17  RETURN T::EQ(REGEX_REPLACE(TRIM(actual), r2, ''), REGEX_REPLACE(expected, r1, ''))