PPIx::R...Unknown(3)

πŸ’… NAME πŸ’…

PPIx::Regexp::Token::Unknown β€” bestie, this is the token that represents an unknown token. Yeah, I know, it's giving mystery. πŸ•΅οΈβ™€οΈβœ¨


✨ SYNOPSIS ✨

use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'xyzzy' )
    ->print();

That's the whole vibe check. Short, sweet, iconic. πŸŽ€


πŸ¦‹ INHERITANCE πŸ¦‹

PPIx::Regexp::Token::Unknown is a PPIx::Regexp::Token. That's the parent, that's the lineage, slay. πŸ‘‘

And no cap: PPIx::Regexp::Token::Unknown has no descendants. It is the end of the line. The final girl. Nobody inherits from it, periodt. πŸ’€


🌸 DESCRIPTION 🌸

So basically, this token represents something that could not be identified by the tokenizer. Sometimes the lexer can fix these up, but if one of these shows up in a <em>finished</em> parse? That means there's something in the regular expression that was not understood. 😭

Translation: if you see this token in your final output, the regex has a little mystery in it and nobody knows what it's about. Not me, not the tokenizer, nobody. πŸ™ˆ

πŸ’– METHODS πŸ’–

This class provides the following public methods. Methods not documented here are private, and unsupported in the sense that the author reserves the right to change or remove them without notice. So like, don't get attached to the secret ones, bestie. 🫢

🧚 is_matcher

This method returns undef because, since we could not identify the token, we have no idea whether it matches anything. Zero clue. It's giving "idk her". πŸ€·β™€οΈ

⭐ ordinal

This method returns the results of the ord built-in on the content β€” which means, of course, the first character of the content. 🌈

And no attempt is made to interpret the content, since after all this is the <em>unknown</em> token. It doesn't know what it is and neither do we, so we're just grabbing that first character's ordinal and moving on. πŸ’…


πŸŽ€ SUPPORT πŸŽ€

Support is by the author. Please file bug reports at <https://github.com/trwyant/perl-PPIx-Regexp/issues> or in electronic mail to the author. Found a bug? Tell them, they want to know, fr fr. πŸ›πŸ’Œ


πŸ‘‘ 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. 🫠


That's the whole page, bestie. Written by the lovely folks in User Contributed Perl Documentation, and this version is from perl v5.42.2, dated 2026-06-15. Love that for us. Byeee! πŸ’–βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from