How, exactly does the //s modifier work? Can I use this modifier to help me find occurrences of a word in a multiline context e.g., to return positive if the word 'RESULTADOS' is found between certain SGML tags in the following manner:
I know I could chomp all the line returns and newlines and concatenate all the lines of text in the document, then search through it; but this strikes me as an AWFUL method. I could also use a series of boolean switches to make sure that the word I'm seeking appears in the correct context, but again this seems like terrible overkill.
I'm guessing that what I want to do can be rather easily and efficiently done with some clever modifier - perhaps the //s - but I'm not sure.