Contents

any

A character class that matches any element.

Declaration

static var any: CharacterClass { get }

Discussion

This character class is unaffected by the dotMatchesNewlines() method. To match any character that isn’t a newline, see anyNonNewline.

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

See Also

Matching substring sequences