Test, validate and match regular expressions
This regex matches entire lines (due to multiline flag) that contain both the words 'roll' and 'over' anywhere in the line, or that contain the single word 'rollover'. It uses positive lookaheads to check for term presence without consuming characters, then matches the whole line with '.+'. Useful for filtering text logs, documents, or search results where either combined or separate terms are relevant.