PPIx::R...limiter(3)

πŸ’– PPIx::Regexp::Token::Delimiter πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's all about PPIx::Regexp::Token::Delimiter β€” yes that's a whole mouthful, we're gonna get through it together 🫢


✨ NAME ✨

PPIx::Regexp::Token::Delimiter β€” the class that represents the delimiters of the regular expression. like the { and } in qr{foo}. those little guys. iconic behavior honestly πŸ’…


🌈 SYNOPSIS 🌈

use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{foo}smx' )
    ->print();

that's it. that's the vibe. run it, see what happens ✨


πŸ¦‹ INHERITANCE πŸ¦‹

PPIx::Regexp::Token::Delimiter is a PPIx::Regexp::Token::Structure. family lineage, we love to see it πŸ’–

and also β€” PPIx::Regexp::Token::Delimiter has no descendants. it's a leaf node, no kids, no heirs, just vibes. main character with no sequel 😌


πŸŽ€ DESCRIPTION πŸŽ€

so this token? it represents the delimiters of the regular expression. and ngl the tokenizer has to figure out where those delimiters are anyway, right? so this class exists to give the lexer a lil hint about what's going on. it's giving "teamwork makes the dream work" fr fr 🫢


πŸ’… METHODS πŸ’…

lowkey this class provides no public methods beyond the ones its superclass already gives you. it's a nepo baby but in a chill way, we're not mad at it πŸ’€

πŸ“ perl_version_introduced

so bestie, they experimented with weird delimiters and discovered they did not actually work until Perl 5.8.3. so for those weird delimiters, this method returns '5.008003'. noted. archived. slay πŸ”₯

🧚 perl_version_removed

okay this one is a little dramatic, sit down for it:

Perl 5.29.0 made it fatal to use non-standalone graphemes as regular expression delimiters. like, game over, no survivors 😭

and because non-characters and permanently unassigned code points are still allowed per perldeprecation, the author takes this to mean characters that match /\p{Mark}/ (i.e. combining diacritical marks). but β€” plot twist β€” this regular expression does not compile under Perl 5.6 πŸ™ˆ

so here's the deal:

  • This method returns '5.029' for such delimiters, provided the requisite regular expression compiles.
  • Otherwise it returns undef. shrug. nothing we can do πŸ’œ

🌸 SUPPORT 🌸

support is by the author. so if something's broken, bestie, please file bug reports at:

https://github.com/trwyant/perl-PPIx-Regexp/issues

or in electronic mail to the author. they're nice, they want to hear from you, be normal about it 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Thomas R. Wyant, III β€” harryfmudd at comcast dot net


Copyright (C) 2009-2023, 2025-2026 by Thomas R. Wyant, III

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. no cap, that's the actual legal situation, read it and weep 😭

and that's the whole page, bestie!! this was perl v5.42.2, dated 2026-06-15, and it's the PPIx::R...limiter(3) page from the User Contributed Perl Documentation πŸ’– stay delimited, stay iconic, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from