For example, the pattern (.*) second matches the subject "first\nand second "(where \n stands for a newline character) with the first captured substring beingFor example, the pattern (.*) second matches the subject "first\nand second" (where \n stands for a newline character) with the first captured substring being "and ".
Par exemple, le masque, (.*)second acceptera la chaîne "premier \net second" (avec "\n" qui remplace la nouvelle ligne), et la première chaîne capturée sera "et".