Toot

Written by Tammi 🥴 on 2024-12-29 at 21:19

Just dropped my pronouns as a Regex in my profile. It is in PCRE dialect since it uses conditionals.

You can use it in a Perl script like this:print "Enter a pronoun for validation: ";

my $pronoun = ;

chomp $pronoun;

if ($pronoun =~ /^(ca)?(s)?(t)?(h)?(m)?(e)?(?(6)(?(5)ow|(?(2)|(?(3)(?(4)(y|m|(ir)))|(?(4)r|(y|m|(ir))))))|)$/mg) {

print "Valid Pronoun Found.\n"; 

}

else {

print "Invalid Pronoun detected!! Ready for termination!\n"; 

exit(-69);

}

=> More informations about this toot | View the thread | More toots from tammeow@cute-spellcasting-ideas.eu

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113738198209557865
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
228.039283 milliseconds
Gemini-to-HTML Time
0.429189 milliseconds

This content has been proxied by September (ba2dc).