Cataly...Regexp(3pm)

πŸ“¦
version 5.90035 Β· 2 versions
  • 5.90035 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 5.90035 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Catalyst::DispatchType::Regexp β€” the Regex DispatchType, but make it a spelling variant situation ✨

(psst, this is a 3pm page from the User Contributed Perl Documentation, bestie 🫢)


🌸 SYNOPSIS 🌸

See Catalyst::DispatchType::Regex.

✨ DESCRIPTION ✨

πŸ’€ Status: Deprecated πŸ’€

Okay so, hard truth time. Regex dispatch types have been deprecated and removed from Catalyst core. No cap. It is recommend that you use Chained methods or other techniques instead. Like, genuinely, go do that instead, bestie. 😭

As part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. That's a lot of regex-y siblings fighting for the aux cord ngl. Priority is now influenced by when the dispatch type is first seen in your application. First come, first served β€” main character gets the priority. πŸ‘‘

When loaded, a warning about the deprecation will be printed to STDERR. Yes it's going to be loud about it. To suppress the warning, set the CATALYST_NOWARN_DEPRECATE environment variable to a true value. Silencing the drama, iconic behavior. πŸ™ˆ

Lowkey important: that deprecation warning goes to STDERR the moment it's loaded, so don't be surprised when it shows up uninvited.

πŸ¦‹ What even is this thing πŸ¦‹

Dispatch type managing path-matching behaviour using regexes. That's the whole job. πŸ’…

This simply supports the alternate spelling of "Regex". That's it, that's the assignment β€” it's the same dispatch type wearing a slightly different name, like when you spell your name with a heart in your bio. πŸ’–

All the work is done in Catalyst::DispatchType::Regex. This page is basically the plus-one, the hypeman, the "I'm just here for the vibes" friend. 🌈

For more information on dispatch types, see:

  • Catalyst::Manual::Intro for how they affect application authors
  • Catalyst::DispatchType for implementation information.

πŸ‘‘ AUTHORS πŸ‘‘

Catalyst Contributors, see Catalyst.pm


This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. 🫢 Slay, honestly.


and that's a wrap, bestie!! this page is from perl v5.34.0, dated 2022-06-09 β€” she's been around a minute, but she still ate πŸ’…βœ¨

πŸ“¦ where this page comes from