rxn.utilities.regex.alternation

rxn.utilities.regex.alternation(choices, capture_group=False)[source]

OR operator

Parameters
  • choices (Iterable[str]) –

  • capture_group (bool, default: False) –

Return type

str