I have strings like "members[value eq\"2819c223-7f76-453a-919d-413861904646\"].displayName"
, where i was trying to retrieve members, string in bracket, and displayname.
I tried this, matchObj = re.match( r"(.*)\[([.*]+)\?](.*?)", line, re.M|re.I)
where string in bracket and last string(after .
) are optional (this part "[value eq\"2819c223-7f76-453a-919d-413861904646\"].displayName"
).
What am I doing wrong here?