Contents

anyNonNewline

A character class that matches any element that isn’t a newline.

Declaration

static var anyNonNewline: CharacterClass { get }

Discussion

This character class is unaffected by the dotMatchesNewlines() method. To match any character, including newlines, see any.

This character class is equivalent to the regex syntax “dot” metacharacter with single-line mode disabled: (?-s:.).

See Also

Matching substring sequences