Test, validate and match regular expressions
Matches complete lines containing Spanish/Portuguese retail store names: 'mercado' (market), 'minimercado' (mini-market), 'supermercado' (supermarket), or 'hipermercado' (hypermarket). The optional prefix group captures the store size variant while requiring the base word 'mercado'. With global and multiline flags, each line is validated independently, making it useful for validating or categorizing lists of store type names in bulk text.