bundles / traitlets 5.14.3 / traitlets / traitlets / CRegExp
class
traitlets.traitlets:CRegExp
source: /traitlets/traitlets.py :4181
Signature
class CRegExp ( default_value : t.Any = traitlets.Undefined , allow_none : bool = False , read_only : bool | None = None , help : str | None = None , config : t.Any = None , ** kwargs : t.Any ) → None Members
Summary
A casting compiled regular expression trait.
Extended Summary
Accepts both strings and compiled regular expressions. The resulting attribute will be a compiled regular expression.
Aliases
-
traitlets.CRegExp