class pattern.end_of_line
Pattern to attach matching to end of line
Contract
Parameter keyDefault valueType
a_typeopt
regex_string"$"string
Water Contract
<class pattern.end_of_line
  regex_string  ="$"=string
  _native_object=<ja.org.apache.regexp.RE/>
/>

See also: is_type_for, get_string_segments, replace_string_segments, string_segment

Returns a pattern with a regex_string field set to " $ ". This pattern is useful for forcing the match to check against the end of the target string.
Example: Match string of punctuation at end only
<pattern pattern.<one_or_more pattern.punctuation />
         pattern.end_of_line />.
<is_type_for "abcdefg087!@#" />
true
Example: Does not match punctuation at end
<pattern pattern.<one_or_more pattern.punctuation />
         pattern.end_of_line />.
<is_type_for "abcdefg087!@#x" />
false