There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

yogthos OP ,
@yogthos@lemmy.ml avatar

Sure, learning basics of regex is not that hard, but complex regex expressions can easily become impenetrable. I actually like the verbal expressions idea where you write out the regex using a long form and that gets compiled into the actual regex, e.g:


<span style="font-weight:bold;color:#a71d5d;">const </span><span style="color:#323232;">tester </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#323232;">VerEx()
</span><span style="color:#323232;">    .startOfLine()
</span><span style="color:#323232;">    .then(</span><span style="color:#183691;">'http'</span><span style="color:#323232;">)
</span><span style="color:#323232;">    .maybe(</span><span style="color:#183691;">'s'</span><span style="color:#323232;">)
</span><span style="color:#323232;">    .then(</span><span style="color:#183691;">'://'</span><span style="color:#323232;">)
</span><span style="color:#323232;">    .maybe(</span><span style="color:#183691;">'www.'</span><span style="color:#323232;">)
</span><span style="color:#323232;">    .anythingBut(</span><span style="color:#183691;">' '</span><span style="color:#323232;">)
</span><span style="color:#323232;">    .endOfLine();
</span>

That seems like the best of both world approach to me.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines