Data::...:Repeat(3pm)
π NAME π
Data::Password::zxcvbn::Match::Repeat β bestie, this is the match class for repetitions of other matches β¨
πΈ VERSION πΈ
version 1.1.3 π
π¦ DESCRIPTION π¦
Okay so picture this: this class is literally the guess that some substring inside a password is just... the same thing over and over again π like a copy-paste moment of some other kind of match. That's the whole vibe. That's the whole job. π
β¨ ATTRIBUTES β¨
"repeat_count"β an integer, and it's telling you how many times the"base_token"gets repeated π"base_token"β the match that is being repeated; this one's gonna be an instance of some other"Data::Password::zxcvbn::Match::*"class π"base_guesses"β the minimal estimate of the attempts needed to guess the"base_token"π₯"base_matches"β the list of patterns that"base_guesses"is based on π
π METHODS π
π "make"
my @matches = @{ Data::Password::zxcvbn::Match::Repeat->make(
$password, \%opts,
) };
So what this does is it scans the $password for repeated substrings, and then it recursively analyses them exactly like the main "password_strength" function would do π«Ά
password_strength($substring,\%opts);
And yeah, "base_guesses" and "base_matches"? They come straight from that recursive call, no cap β¨
π "estimate_guesses"
The number of guesses is the "base_guesses" times the "repeat_count" β simple math, she's multiplying, she's iconic π
π "feedback_warning" and "feedback_suggestions"
Not me telling you this class literally suggests not to repeat substrings π bestie please stop repeating stuff, it's giving predictable π«
π "fields_for_json"
The JSON serialisation for matches of this class is gonna contain token i j guesses guesses_log10 repeat_count base_guesses base_token base_matches β that's the whole squad, all present and accounted for π
π AUTHOR π
Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> β thank you for your service, king π«‘π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2022 by BroadBean UK, a CareerBuilder Company.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Periodt π β¨
okay that's the whole page, you ate that, go forth and read your manuals bestie π
this was Data::...:Repeat(3pm) β User Contributed Perl Documentation, from perl v5.40.1, dated 2025-10-17 π¦πΈ
π¦ where this page comes from
- ubuntu resolute: libdata-password-zxcvbn-perl 1.1.3-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-password-zxcvbn-perl 1.1.3-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms