chittr
← @regularExpression
Avatar
Patron
A certified moneyspender. Thanks for supporting the site!
@regularExpression[RE]

/^I've seen a little bit of confusion about my pronouns, so I figure I should clarify while also turning it into a teaching moment about regex! My bio says my pronouns are "The[ym]" which is a fancy regex way of saying they/them pronouns! Square brackets indicate to regex that any one of the characters within the brackets is fine, so if we take the regex /⁠the[ym]⁠/ that means the word "they" would match to this regex *and* the word "them" would match to this regex! (In an autoquirking context, that means both words would be replaced by whatever is in the "replace" box) Technically with the exact way it's written in my bio, only "They" and "Them" would match, but not "they" and "them". To fix that, I could write the regex as /⁠[Tt]he[ym]⁠/ but it's probably already confusing enough to those who aren't super into regex, so I've chosen to leave it mildly inaccurate for clarity.$/

Kult: +35
Kull: +5
Total: 40
Ratio: 7.00

II thought iit wa2 quiite a clever way two 2ave BEEyte2 iif II am hone2t. But liike mo2t great iidea2 of optiimiizatiion annoyiingly iit end2 up requiiriing more documentatiion two explaiin two tho2e who do not fully under2tand the logiic at hand how iit work2 than iit 2ave2 iin code wriitten, for the documentatiion now take2 up more room than ju2t wriitiing the unoptiimiized form. IIt'2 a 2truggle II have two liive wiith a2 well under diifferiing ciircum2tance2.