Enum ::patch::Selector
Selects if a line should be edited by LineEditor
or not
Variants
Match all lines
End of file
Match a specific line number (1-indexed)
A range of line numbers (1-indexed, inclusive)
A regex to match the line
A custom function, passed the line number and current line, returning a bool
Protocols
protocol is_variant
Test if the provided argument is a variant.