class TP_WHITE_SPACE_CHAR
Matches white space character
note
description: "Matches white space 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-21 14:24:55 GMT (Monday 21st November 2022)"
revision: "3"
class
TP_WHITE_SPACE_CHAR
inherit
TP_CHARACTER_PROPERTY
rename
name_inserts as Empty_inserts
end
feature {NONE} -- Implementation
i_th_matches (i: INTEGER; text: READABLE_STRING_GENERAL): BOOLEAN
-- `True' if i'th character matches pattern
local
c: EL_CHARACTER_32_ROUTINES
do
Result := c.is_space (text [i]) -- Work around for finalization bug
end
feature {NONE} -- Constants
Name_template: ZSTRING
once
Result := "whitespace character"
end
end