NAME
Complete::Regexp::Pattern - Completion routines for Regexp::Pattern
VERSION
This document describes version 0.001 of Complete::Regexp::Pattern (from Perl distribution Complete-Regexp-Pattern), released on 2016-12-31.
SYNOPSIS
use Complete::Regexp::Pattern qw(
complete_regexp_pattern_module
complete_regexp_pattern_pattern
);
my $res = complete_regep_pattern_module(word => 'L');
# -> {word=>['License', 'License/'], path_sep=>'/'}
my $res = complete_regep_pattern_pattern(word => 'Y');
# -> {word=>['YouTube/video_id'], path_sep=>'/'}
FUNCTIONS
complete_regexp_pattern_module(%args) -> any
Complete with Regexp::Pattern::* module, without the Regexp::Pattern:: prefix.
This is just a thin wrapper for:
Complete::Module::complete_module(ns_prefix=>'Regexp::Pattern', ...)
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
path_sep => str
Will be passed to Complete::Module::complete_module.
word* => str (default: "")
Word to complete.
Return value: (any)
complete_regexp_pattern_pattern(%args) -> any
Complete Regep::Pattern name, e.g. YouTube::video_id.
The name is qualified with its module name, without the Regexp::Pattern::
prefix.
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
path_sep => str
word* => str (default: "")
Word to complete.
Return value: (any)
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Complete-Regexp-Pattern.
SOURCE
Source repository is at https://github.com/perlancar/perl-Complete-Regexp-Pattern.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Complete-Regexp-Pattern
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.