class TP_ZERO_OR_MORE_TIMES

(source code)

Client examples: PATTERN_MATCH_TEST_SET

Description

Matches pattern zero or more times

note
	description: "Matches pattern zero or more times"

	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-21 14:25:00 GMT (Monday 21st November 2022)"
	revision: "3"

class
	TP_ZERO_OR_MORE_TIMES

inherit
	TP_COUNT_WITHIN_BOUNDS
		rename
			make as make_with_repetition_bounds
		end

create
	make

feature {NONE} -- Initialization

	make (a_repeated_pattern: TP_PATTERN)
			--
		do
			make_with_repetition_bounds (a_repeated_pattern, 0 |..| Max_matches)
		end

end