I'm having trouble working with a dictionary with keys containing square brackets. From the docs I see that square brackets are considered as elements of regular exporessions. However, this is causing the issue in my case, because I just want them to be "normal" square brackets.
Code example
import dpath
d = {'Position': {'Position x [mm]': 3}}
dpath.search(d, 'Position/Position x [mm]/*')
This outputs: {} instead of the expected {'Position': {'Position x [mm]': 3}}
Maybe there is already a solution for the problem, but I did not find it in the docs.