Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Static Public Attributes | Protected Member Functions | Static Protected Attributes | List of all members
babel.util.TextWrapper Class Reference
Inheritance diagram for babel.util.TextWrapper:
Inheritance graph
[legend]
Collaboration diagram for babel.util.TextWrapper:
Collaboration graph
[legend]

Static Public Attributes

 wordsep_re
 

Protected Member Functions

 _split (self, text)
 

Static Protected Attributes

 _enclosed_filename_re = re.compile(r'(\u2068[^\u2068]+?\u2069(?::-?\d+)?)')
 

Member Function Documentation

◆ _split()

babel.util.TextWrapper._split (   self,
  text 
)
protected
Splits the text into indivisible chunks while ensuring that file names
containing spaces are not broken up.

Member Data Documentation

◆ wordsep_re

babel.util.TextWrapper.wordsep_re
static
Initial value:
= re.compile(
r'(\s+|' # any whitespace
r'(?<=[\w\!\"\'\&\.\,\?])-{2,}(?=\w))', # em-dash
)

The documentation for this class was generated from the following file: