I am trying to find a Unicode pattern but it always returns an empty list [ ]. I have tried the same pattern in Kwrite and it worked fine.
I have tried \u \\u in place of \w but didn't work for me. Here Unicode string can be any Unicode string.
InputString=r"[[ਅਤੇ\CC_CCD]]_CCP"
Result = re.findall(r'[\[]+[\w]+\\\w+[\]]+[_]\w+',InputString,flags=re.U)
print(Result)