# `taurus.core.evaluation.evalvalidator`

Classes

class EvaluationAttributeNameValidator(*p, **k)

  Validator for Evaluation attribute names. Apart from the standard named groups (scheme, authority, path, query and fragment), the following named groups are created:

  - attrname: attribute name. same as concatenating _subst with _expr

  - _expr: a mathematical expression

  - _evalrefs: a list of eval refs found in the name (see `getRefs()`)

  - [_subst]: a semicolon-separated repetition of key=value (for replacing them in _expr)

  - [devname]: as in `EvaluationDeviceNameValidator`

  - [_evalname]: evaluation instance name (aka non-dotted dev name)

  - [_evaldotname]: evaluator instance dotted name (if dotted name given)

  - [_old_devname]: devname without “@”. Only in non-strict mode

  - [_dbname] and [_subst]: unused. Only if non-strict mode

  - [cfgkey] same as fragment (for bck-compat use only)

  Note: brackets on the group name indicate that this group will only contain a value if the URI contains it.

  (more info)

class EvaluationDeviceNameValidator(*p, **k)

  Validator for Evaluation device names. Apart from the standard named groups (scheme, authority, path, query and fragment), the following named groups are created:

  > - devname: device name (either _evalname or _evaldotname)

  > - [_evalname]: evaluation instance name (aka non-dotted dev name)

  > - [_evaldotname]: evaluation instance dotted name (if dotted name given)

  > - [_old_devname]: devname without “@”. Only in non-strict mode

  > - [_dbname] and [_subst]: unused. Only if non-strict mode

  Note: brackets on the group name indicate that this group will only contain a string if the URI contains it.

  (more info)