Codebase list libcatalyst-dispatchtype-regex-perl / fresh-snapshots/main
New upstream snapshot. Debian Janitor 1 year, 4 months ago
5 changed file(s) with 62 addition(s) and 42 deletion(s). Raw diff Collapse all Expand all
44 lib/Catalyst/DispatchType/Regex.pm
55 lib/Catalyst/DispatchType/Regexp.pm
66 MANIFEST This list of files
7 META.json
8 META.yml
9 README
710 t/01use.t
811 t/aggregate/live_component_controller_action_regexp.t
912 t/aggregate/live_priorities.t
3033 xt/perlcriticrc
3134 xt/pod-coverage.t
3235 xt/pod.t
33 README
34 META.yml
35 META.json
33 "unknown"
44 ],
55 "dynamic_config" : 1,
6 "generated_by" : "Module::Build version 0.4004, CPAN::Meta::Converter version 2.130880",
6 "generated_by" : "Module::Build version 0.4232",
77 "license" : [
88 "perl_5"
99 ],
1010 "meta-spec" : {
1111 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12 "version" : "2"
12 "version" : 2
1313 },
1414 "name" : "Catalyst-DispatchType-Regex",
1515 "prereqs" : {
2424 "Moose" : "0",
2525 "Text::Balanced" : "0",
2626 "Text::SimpleTable" : "0"
27 }
28 },
29 "test" : {
30 "requires" : {
31 "Data::Dumper" : "0",
32 "MRO::Compat" : "0",
33 "Scalar::Util" : "0",
34 "Test::More" : "0",
35 "namespace::autoclean" : "0"
2736 }
2837 }
2938 },
5564 }
5665 },
5766 "version" : "5.90035",
58 "x_test_requires" : {
59 "Data::Dumper" : "0",
60 "MRO::Compat" : "0",
61 "Scalar::Util" : "0",
62 "Test::More" : "0",
63 "namespace::autoclean" : "0"
64 }
67 "x_serialization_backend" : "JSON::PP version 4.07"
6568 }
11 abstract: 'Regex DispatchType'
22 author:
33 - unknown
4 build_requires: {}
4 build_requires:
5 Data::Dumper: '0'
6 MRO::Compat: '0'
7 Scalar::Util: '0'
8 Test::More: '0'
9 namespace::autoclean: '0'
510 configure_requires:
6 Module::Build: 0.4004
11 Module::Build: '0.4004'
712 dynamic_config: 1
8 generated_by: 'Module::Build version 0.4004, CPAN::Meta::Converter version 2.130880'
13 generated_by: 'Module::Build version 0.4232, CPAN::Meta::Converter version 2.150010'
914 license: perl
1015 meta-spec:
1116 url: http://module-build.sourceforge.net/META-spec-v1.4.html
12 version: 1.4
17 version: '1.4'
1318 name: Catalyst-DispatchType-Regex
1419 provides:
1520 Catalyst::DispatchType::LocalRegex:
1823 file: lib/Catalyst/DispatchType/LocalRegexp.pm
1924 Catalyst::DispatchType::Regex:
2025 file: lib/Catalyst/DispatchType/Regex.pm
21 version: 5.90035
26 version: '5.90035'
2227 Catalyst::DispatchType::Regexp:
2328 file: lib/Catalyst/DispatchType/Regexp.pm
2429 requires:
25 Catalyst::Runtime: 5.90060
26 Moose: 0
27 Text::Balanced: 0
28 Text::SimpleTable: 0
30 Catalyst::Runtime: '5.90060'
31 Moose: '0'
32 Text::Balanced: '0'
33 Text::SimpleTable: '0'
2934 resources:
3035 bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-DispatchType-Regex
3136 license: http://dev.perl.org/licenses/
3237 repository: http://github.com/mvgrimes/catalyst-dispatch-regex
33 version: 5.90035
34 x_test_requires:
35 Data::Dumper: 0
36 MRO::Compat: 0
37 Scalar::Util: 0
38 Test::More: 0
39 namespace::autoclean: 0
38 version: '5.90035'
39 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
00 NAME
1
12 Catalyst::DispatchType::Regex - Regex DispatchType
23
34 SYNOPSIS
5
46 See Catalyst::DispatchType.
57
68 DESCRIPTION
9
710 Status: Deprecated. Regex dispatch types have been deprecated and
8 removed from Catalyst core. It is recommend that you use Chained methods
9 or other techniques instead. As part of the refactoring, the dispatch
10 priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have
11 changed. Priority is now influenced by when the dispatch type is first
12 seen in your application.
11 removed from Catalyst core. It is recommend that you use Chained
12 methods or other techniques instead. As part of the refactoring, the
13 dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may
14 have changed. Priority is now influenced by when the dispatch type is
15 first seen in your application.
1316
1417 When loaded, a warning about the deprecation will be printed to STDERR.
1518 To suppress the warning set the CATALYST_NOWARN_DEPRECATE environment
1821 Dispatch type managing path-matching behaviour using regexes. For more
1922 information on dispatch types, see:
2023
21 * Catalyst::Manual::Intro for how they affect application authors
24 * Catalyst::Manual::Intro for how they affect application authors
2225
23 * Catalyst::DispatchType for implementation information.
26 * Catalyst::DispatchType for implementation information.
2427
2528 METHODS
26 $self->list($c)
29
30 $self->list($c)
31
2732 Output a table of all regex actions, and their private equivalent.
2833
29 $self->match( $c, $path )
34 $self->match( $c, $path )
35
3036 Checks path against every compiled regex, and offers the action for any
3137 regex which matches a chance to match the request. If it succeeds, sets
3238 action, match and captures on $c->req and returns 1. If not, returns 0
3339 without altering $c.
3440
35 $self->register( $c, $action )
36 Registers one or more regex actions for an action object. Also registers
37 them as literal paths.
41 $self->register( $c, $action )
42
43 Registers one or more regex actions for an action object. Also
44 registers them as literal paths.
3845
3946 Returns 1 if any regexps were registered.
4047
41 $self->register_regex($c, $re, $action)
48 $self->register_regex($c, $re, $action)
49
4250 Register an individual regex on the action. Usually called from the
4351 register method.
4452
45 $self->uri_for_action($action, $captures)
53 $self->uri_for_action($action, $captures)
54
4655 returns a URI for this action if it can find a regex attributes that
4756 contains the correct number of () captures. Note that this may function
4857 incorrectly in the case of nested captures - if your regex does
4958 (...(..))..(..) you'll need to pass the first and third captures only.
5059
5160 AUTHORS
61
5262 Catalyst Contributors, see Catalyst.pm
5363
5464 COPYRIGHT
65
5566 This library is free software. You can redistribute it and/or modify it
5667 under the same terms as Perl itself.
5768
0 libcatalyst-dispatchtype-regex-perl (5.90035+git20150331.1.774d0a0-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Tue, 20 Dec 2022 05:44:57 -0000
5
06 libcatalyst-dispatchtype-regex-perl (5.90035-2) unstable; urgency=medium
17
28 [ Salvatore Bonaccorso ]