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 AND LICENSE π
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
- fedora 43: perl-PPIx-Regexp 0.092-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-PPIx-Regexp 0.092-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms