Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import re txt = "�land" #Find all ASCII matches: print(re.findall("\w", txt, re.ASCII)) #Without the flag, the example would return all character: print(re.findall("\w", txt)) #Same result using the shorthand re.A flag: print(re.findall("\w", txt, re.A))
['l', 'a', 'n', 'd']
['�', 'l', 'a', 'n', 'd']
['l', 'a', 'n', 'd']