You can enable it with shopt -s extglob and disable shopt -u extglob
Other useful options are:
?(pattern-list)
Matches zero or one occurrence of the given patterns
*(pattern-list)
Matches zero or more occurrences of the given patterns
+(pattern-list)
Matches one or more occurrences of the given patterns
@(pattern-list)
Matches one of the given patterns
!(pattern-list)
Matches anything except one of the given patterns
Thanks to aigles for the post which forced me to dig more and learned something new