If all possible alter - natives start with a circumflex, that is, if the pattern is constrained to match only at the start of the subject, it is said to be an "anchored" pattern. (There are also other con - structs that can cause a pattern to be anchored.) A dollar character is an assertion which is TRUE only if the current matching point is at the end of the subject string, or immediately before a newline character that is the lastIf all possible alter - natives start with a circumflex, that is, if the pattern is constrained to match only at the start of the subject, it is said to be an "anchored "pattern. (There are also other con - structs that can cause a pattern to be anchored.) A dollar character is an assertion which is TRUE only if the current matching point is at the end of the subject string, or immediately before a newline character that is the last character in the string (by default).
^ n'a pas besoin d 'être le premier caractère du masque, si plusieurs alternatives sont proposées, mais il doit être placé en premier dans chaque alternative.