Test, validate and match regular expressions
Uses chained positive lookaheads to verify that three health-check messages—MilesService OK, PromotionsService OK, and ISearchPanelDao OK—all appear in a log or test output. Since lookaheads are zero-width, with g/m flags it yields empty matches at positions where all three strings occur downstream. Typically used in test automation to assert multiple services started successfully. Note the first lookahead uses [\s\S] without +, so the first message must appear within one character of the match position.