NAME

Data::Object::Base::Regexp

ABSTRACT

Data-Object Abstract Regexp Class

SYNOPSIS

package My::Regexp;

use parent 'Data::Object::Base::Regexp';

my $re = My::Regexp->new(qr(\w+));

DESCRIPTION

Data::Object::Base::Regexp provides routines for operating on Perl 5 regular expressions.

METHODS

This package implements the following methods.

new

new(RegexpRef $arg1) : Object

The new method expects a regular-expression object and returns a new class instance.

new example
# given qr(something to match against)

package My::Regexp;

use parent 'Data::Object::Base::Regexp';

my $re = My::Regexp->new(qr(something to match against));

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

PROJECT

GitHub

Contributing

Reporting

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures