Regexp::Flow::Result - container for information about a Regexp match.
This is a subclass of Regexp::Result. It adds methods and attributes which are useful to have in the same object.
Regexp::Result
In a boolean context, this returns true if the match was a success.
1 or 0; default undef. Indicates if the match was a success.
1
0
undef
next or last; default next. Used to control if m//g and s///g continue to operate. See the last method.
next
last
m//g
s///g
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.
continue_action
"last"
Regexp::Flow::re_matches
Regexp::Flow::re_substitutions
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.
The regular expression in use.
Regexp::Flow - which uses this module (also for author and copyright information)
To install Regexp::Flow, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Regexp::Flow
CPAN shell
perl -MCPAN -e shell install Regexp::Flow
For more information on module installation, please visit the detailed CPAN module installation guide.