is the regex [a-Z] valid and if yes then is it the same as [a-zA-Z]? please note that in [a-Z] the a is lowercase and the Z is capital
Edit:
i received some answers specifiying that while [a-Z] is not valid then [A-z] is valid (but wont be the same as [a-zA-Z]) and this is really what i was looking for. since i wanted to know in general if its possible to replace [a-zA-Z] with a more compact version. thanks for all who contributed to the answer.