Parses a disclosure path such as a.b[2].c into its segments.
a.b[2].c
the path
the segments
Error when it is not a disclosure path
Parses a disclosure path such as
a.b[2].cinto its segments.