generate_changelog.actions.text_processing

text_processing#

Text functions.

Functions

capitalize

Capitalize the first character for a string.

Classes

AppendString

Create a callable that can append a string to the input.

FirstRegExMatch

When called, returns the first match in a string using a predefined regex.

FirstRegExMatchPosition

When called, returns the position of the first match in a string using a predefined regex.

PrefixLines

Creates a callable to prefix lines to input text.

PrefixString

Prefix a string to the input when called.

RegExCommand

A base class to hold regular expression information.

RegexSub

Create a callable that will make substitutions using regular expressions.

SetDefault

Return a default value when called with an empty value.

Slice

When called, return a slice of the sequence.

Strip

Create a callable that will strip a string from the ends of an input.

WrapParagraphs

Create a callable to wrap the paragraphs of a string.