Added function to evaluate whether simple singular expression has valid syntax, and, if it has, extract metadata from it.