When included before a character class, it is referring to the matching of the first character; however, if it is the first character inside a bracketed character class, it means negation/not.
Ex:
^[a].+ or ^a+ matches any consecutive sequence of 2 or more characters starting with the letter a.
^[^a].+ matches any consecutive sequence of 2 or more characters not starting with a.