MoleculeMatchQ

MoleculeMatchQ[mol,patt]

returns True if the Molecule matches the given pattern.

MoleculeMatchQ[patt]

represents an operator form of MoleculeMatchQ that can be applied to a molecule.

Details

Examples

open allclose all

Basic Examples  (3)

Test whether two molecules match:

Test whether a molecule matches a formula:

Test whether a molecule matches a pattern:

Options  (2)

IgnoreIsotopes  (1)

By default, isotopologues do not match:

Use IgnoreIsotopesTrue to get a positive match:

IgnoreStereochemistry  (1)

By default, stereoisomers do not match:

Use IgnoreStereochemistryTrue to get a positive match:

Wolfram Research (2021), MoleculeMatchQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MoleculeMatchQ.html.

Text

Wolfram Research (2021), MoleculeMatchQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MoleculeMatchQ.html.

CMS

Wolfram Language. 2021. "MoleculeMatchQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MoleculeMatchQ.html.

APA

Wolfram Language. (2021). MoleculeMatchQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MoleculeMatchQ.html

BibTeX

@misc{reference.wolfram_2022_moleculematchq, author="Wolfram Research", title="{MoleculeMatchQ}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/MoleculeMatchQ.html}", note=[Accessed: 03-July-2022 ]}

BibLaTeX

@online{reference.wolfram_2022_moleculematchq, organization={Wolfram Research}, title={MoleculeMatchQ}, year={2021}, url={https://reference.wolfram.com/language/ref/MoleculeMatchQ.html}, note=[Accessed: 03-July-2022 ]}