RegexPattern.init(from:)
Creates a new instance by decoding from the given decoder.
Source and package
- Qualified name
-
RegexPattern. init(from:) - Declared in
RegexPattern- Package
- libtmux-swift
- Source
- Sources/LibTmux/RegexPattern.swift
-
Description#
This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
- Parameter decoder: The decoder to read data from.