filmov
tv
Regular Expressions Character Classes in Python

Показать описание
When we define a character class we create a set of character we can add to a regular expression. The character class is matched against one single character. The match takes place if the single character is one of the characters the set includes. We create a character class using square brackets that scope it.