Match the contents of the HREF
hrefs*=s* (?: "([^"]*) "| ([^ ']*) ' | ([^ "' >s]+)")
(?: pattern) is a non-capturing bracket that matches pattern, but does not capture matching results.
Span style= "LINE-HEIGHT:21PX; Font-family: the song body; > match Pattern match pattern and capture the result, auto get group number (?< Name> pattern) match pattern match pattern and capture the results, Set name< Span style= "font-family: Song body; font-size:10.5pt; " &NBSP for group name; when you specify a subexpression with parentheses, the text that matches the subexpression (that is , what this grouping captures ) can be further processed in an expression or other program. By default, each capturing group automatically has a group number, with the rule: left-to-right, with the grouping of the left parenthesis as a flag, the first occurrence of the group number 1, the second 2, and so on. if both the common capturing group and the named capturing group exist in the regular expression, the number of the capturing group is to be paid special attention, and the number rule is to first number the normal capturing group and then the named capturing group. To avoid having too many parentheses to confuse numbers, and to avoid useless captures, you can use non-capturing parentheses where you don't need to capture just the groupings you want to specify. The non-capturing brackets in the problem are used for this purpose.
Regular related collections