re

re.DOTALL

The re.DOTALL search modifier forces the symbol . represent any character, including the newline symbol \n.

Submitted by admin on Sat, 05/22/2021 - 08:27

re.MULTILINE

The re.MULTILINE search modifier forces the ^ symbol to match at the beginning of each line of text (and not just the first), and the $ symbol to match at the end of each line of text (and not just the last one).

Submitted by admin on Wed, 05/19/2021 - 09:07

re.ASCII

The re.ASCII search modifier forces the symbols \w, \W, \b, \B, \d, \D, \s, and \S to rely on ASCII code to find text matches, rather than in Unicode.

Submitted by admin on Wed, 05/19/2021 - 08:30

re.DEBUG

The re.DEBUG search modifier displays debug information regarding the function being executed.

Submitted by admin on Wed, 05/19/2021 - 08:17

re.split

The re.split function splits the text string, considering as separator the occurrences of the regular expression pattern.

Submitted by admin on Tue, 05/18/2021 - 08:27