App::Reg - reg RegExp debugger
use App::Reg; # NOT using qr// is recommended unless you don't want compilation # messages (because qr// is compiled before my module has chance # to load re module). reg 'abc', 'a.c';
App::Reg is the module that contains logic of reg utility. It contains one method,
All functions are exported using Exporter. If you don't want this (but why you would use this module then) try importing it using empty list of functions.
use App::Reg ();
- reg($string, $pattern, %options)
The only function in this module. It matches
$patternand shows Perl's regular expression debugger. It supports two options in hash
Returns the matches when called in list context with
globaloption, number of matches otherwise.
When set to true,
use reis called with
/gproperty in RegExp and matches RegExp in list context.
Konrad Borowski <firstname.lastname@example.org>
This software is copyright (c) 2012 by Konrad Borowski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.