This code (inside a plugin, but also in the console)
import re
print(re.match("([a-z])\1\1",‘aaa’))
produces “None”. Why?
Thanks
Piero
This code (inside a plugin, but also in the console)
import re
print(re.match("([a-z])\1\1",‘aaa’))
produces “None”. Why?
Thanks
Piero
Because you need to either use raw string notation or escape your back slashes.