bool OESmartsLexReplace(std::string &smarts, const std::vector<std::pair<std::string,std::string> > &bindings)
Replaces all the instances of $varname in the SMARTS pattern smarts with the variables as defined by the mapping in bindings.
$varname
smarts
bindings