Ad
  • Custom User Avatar

    I think, no1, for MgOH)2 you gotta error out cause you're not the one to assume what the input was SUPPOSED to be. maybe it was supposed to have a pair of parens, maybe none. error out.

    No2, I think there may be no semantic diff between different styles of parens/brackets, but they must pair up exactly based on their particular style. So (] is not a valid pair. So, then, Au5(C2H5[OH)3Li]3 ought to error out too.