class TP_CHARACTER_PATTERN

(source code)

Description

Matches single character

note
	description: "Matches single character"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2022-11-28 5:09:07 GMT (Monday 28th November 2022)"
	revision: "4"

deferred class
	TP_CHARACTER_PATTERN

inherit
	TP_PATTERN
		redefine
			logical_not
		end

feature -- Conversion

	logical_not alias "not": TP_NEGATED_CHAR
			-- Negation
		do
			create Result.make (Current)
		end

	logical_and alias "and" (negated_pattern: TP_NEGATED_CHAR): TP_LEFT_AND_RIGHT_CHAR
			-- Negation
		do
			create Result.make (Current, negated_pattern)
		end

end