Originally Posted by cpper
Hello guys, could you briefly explain to me what is the difference between
The first is any number of characters from the set ":uper". Because it is not inside a bracket expression, the string "[:upper:]" does not
refer to a character class, even though it looks like one.
The second correctly matches zero of more upper-case characters.