NAME
Regexp::Flow::Result - container for information about a Regexp match.
DESCRIPTION
This is a subclass of Regexp::Result. It adds methods and attributes which are useful to have in the same object.
OVERLOADING
In a boolean context, this returns true if the match was a success.
METHODS
success
1 or 0; default undef. Indicates if the match was a success.
continue_action
next or last; default next. Used to control if m//g and s///g continue to operate. See the last method.
last
Invoke this method to set continue_action to "last". This prevents further coderefs being executed by Regexp::Flow::re_matches or Regexp::Flow::re_substitutions. Note that this does not exit the current subroutine.
string
The string before the regexp was executed. Note that when globally matching, the string is the same for all results - the string is only changed when all the matches have been found.
re
The regular expression in use.
SEE ALSO
Regexp::Flow - which uses this module (also for author and copyright information)