|
NAMEData::Object::ReplaceABSTRACTReplace Class for Perl 5SYNOPSISpackage main; use Data::Object::Replace; my $replace = Data::Object::Replace->new([ '(?^:(test))', 'this is a real event', 1, [ 10, 10 ], [ 14, 14 ], {}, 'this is a test' ]); DESCRIPTIONThis package provides methods for manipulating replace data.INHERITSThis package inherits behaviors from:Data::Object::Array INTEGRATESThis package integrates behaviors from:Data::Object::Role::Dumpable Data::Object::Role::Proxyable Data::Object::Role::Throwable LIBRARIESThis package uses type constraints from:Data::Object::Types METHODSThis package implements the following methods:capturescaptures() : ArrayRef The captures method returns the capture groups from the result object which contains information about the results of the regular expression operation.
countcount() : Num The count method returns the number of match occurrences from the result object which contains information about the results of the regular expression operation.
initialinitial() : Str The initial method returns the unaltered string from the result object which contains information about the results of the regular expression operation.
last_match_endlast_match_end() : Maybe[ArrayRef[Int]] The last_match_end method returns an array of offset positions into the string where the capture(s) stopped matching from the result object which contains information about the results of the regular expression operation.
last_match_startlast_match_start() : Maybe[ArrayRef[Int]] The last_match_start method returns an array of offset positions into the string where the capture(s) matched from the result object which contains information about the results of the regular expression operation.
matchedmatched() : Maybe[Str] The matched method returns the portion of the string that matched from the result object which contains information about the results of the regular expression operation.
named_capturesnamed_captures() : HashRef The named_captures method returns a hash containing the requested named regular expressions and captured string pairs from the result object which contains information about the results of the regular expression operation.
postmatchedpostmatched() : Maybe[Str] The postmatched method returns the portion of the string after the regular expression matched from the result object which contains information about the results of the regular expression operation.
prematchedprematched() : Maybe[Str] The prematched method returns the portion of the string before the regular expression matched from the result object which contains information about the results of the regular expression operation.
regexpregexp() : RegexpRef The regexp method returns the regular expression used to perform the match from the result object which contains information about the results of the regular expression operation.
stringstring() : Str The string method returns the string matched against the regular expression from the result object which contains information about the results of the regular expression operation.
AUTHORAl Newkirk, "awncorp@cpan.org"LICENSECopyright (C) 2011-2019, Al Newkirk, et al.This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file" <https://github.com/iamalnewkirk/data-object/blob/master/LICENSE>. PROJECTWiki <https://github.com/iamalnewkirk/data-object/wiki>Project <https://github.com/iamalnewkirk/data-object> Initiatives <https://github.com/iamalnewkirk/data-object/projects> Milestones <https://github.com/iamalnewkirk/data-object/milestones> Contributing <https://github.com/iamalnewkirk/data-object/blob/master/CONTRIBUTE.md> Issues <https://github.com/iamalnewkirk/data-object/issues>
Visit the GSP FreeBSD Man Page Interface. |