get_identifiers function
(Shortest import: from brian2.utils.stringtools import get_identifiers)
-
brian2.utils.stringtools.get_identifiers(expr, include_numbers=False)[source]
Return all the identifiers in a given string expr
, that is everything
that matches a programming language variable like expression, which is
here implemented as the regexp \b[A-Za-z_][A-Za-z0-9_]*\b
.