# jsonargparse 4.53.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Creates or returns an already registered restricted string type class.

    Args:
        name: Name for the type or ``None`` for an automatic name.
        regex: Regular expression that the string must match.
        docstring: Docstring for the type class.

    Returns:
        The created or retrieved type class.
    
=== parse google
short_description: 'Creates or returns an already registered restricted string type class.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'Name for the type or ``None`` for an automatic name.'
  kind: param
  key: 'param'
  arg_name: 'name'
  is_optional: False
- DocstringParam
  description: 'Regular expression that the string must match.'
  kind: param
  key: 'param'
  arg_name: 'regex'
  is_optional: False
- DocstringParam
  description: 'Docstring for the type class.'
  kind: param
  key: 'param'
  arg_name: 'docstring'
  is_optional: False
- DocstringReturns
  description: 'The created or retrieved type class.'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Creates or returns an already registered restricted string type class.

Args:
    name: Name for the type or ``None`` for an automatic name.
    regex: Regular expression that the string must match.
    docstring: Docstring for the type class.

Returns:
    The created or retrieved type class.
