Water 5-Common Data Types-String RegexPattern to match whitespace characters
Contract| Parameter key | Default value | Type | | a_type | type.<one_of <char " "/> <char 9/> <char 11/> <char 10/> <char 12/> <char 13/>/> | one_of | | regex_string | "\s" | string | | Water Contract<class pattern.whitespace
a_type =<type.one_of <char " "/> <char "&#9;"/> <char "&#11;"/> <char "
"/> <char "&#12;"/> <char "&#13;"/>/>
regex_string ="\s"=string
_native_object=<ja.org.apache.regexp.RE/>
/> | |
See also: is_type_for, get_string_segments, replace_string_segments, string_segment, char, alphanumeric, whitespace_not
Returns a pattern with a regex_string field set to
" \s ". This pattern is useful for
matching whitespace characters in the target string.
Example: String contains whitespace characters
<pattern pattern.<one_or_more pattern.whitespace /> />.
<is_type_for <join char.tab "Abc" char.carriage_return char.newline /> />
 | true |
Example: Does not contain whitespace characters
<pattern pattern.<one_or_more pattern.whitespace /> />.
<is_type_for "Abc123!@#" />
 | false |
© Copyright 2007 Clear Methods, Inc.