Contents

substring

The slice of the input which was captured, if there was a capture.

Declaration

var substring: Substring? { get }

Discussion

If nothing was captured, substring is nil.