I am learning re module for the first time but got an error .
The code-
import re
my_str='''pyhton
c++
java
c++
js node
ds algo
pyhton
js node
javac++
java
js node
ds algo'''
var = re.findall("c++",my_str)
It gives the error - re.error: multiple repeat at position 2