tournesol,
@tournesol@peculiar.florist avatar

wtf, why regex is so hard ??

We just want to find how to get a word and I’ve been looking everywhere !!

Using bcatb or (?<span> is only looking into the litteral regex command </span>​:akko_wtf2:​<span><br></br><br></br>WE JUST WANT CATS<br></br><br></br></span><a href="https://peculiar.florist/tags/iceshrimp" rel="tag">#iceshrimp</a><span> </span><a href="https://peculiar.florist/tags/firefish" rel="tag">#firefish</a><span> </span><a href="https://peculiar.florist/tags/FRadminKey" rel="tag">#FRadminKey</a><span><br></br><br></br>RE: </span><a href="https://iceshrimp.social/notes/9n9uyzdgub7tgksc">iceshrimp.social/notes/9n9uyzdgub7tgksc</a>

namori,
@namori@peculiar.florist avatar

@tournesol ça y est je suis curieux, je regarde

namori,
@namori@peculiar.florist avatar

@tournesol dans le code ça utilise pas de regex pour les antennes, juste un ou sur l'ensemble des lignes, avec un et sur les différents mots d'une ligne (c'est découpé dès la réception du formulaire avant le stockage), et pour chaque mot le matching est fait avec la commande includes… Tes espaces sont utilisés pour découper les critères et pour rien d'autre, et même des guillemets ou ce que tu veux d'autre ne passera pas. Faudrait faire un ticket peut-être.

Les sources :

tournesol,
@tournesol@peculiar.florist avatar

@namori oh ! donc c’est pas du tout du regex, c’est juste du "si c’est trouvé, c’est bon" ?

tournesol,
@tournesol@peculiar.florist avatar

@namori en tout cas merci 1000x ​:akko_cry:​

tournesol,
@tournesol@peculiar.florist avatar

@namori j’ai fait un ticket en me basant sur ce que tu as dis du coup ​:nko_tada:​

iceshrimp.dev/iceshrimp/iceshrimp/issues/451

Merci énormément !!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • thenastyranch
  • ngwrru68w68
  • magazineikmin
  • khanakhh
  • rosin
  • mdbf
  • Youngstown
  • slotface
  • everett
  • cisconetworking
  • kavyap
  • tacticalgear
  • InstantRegret
  • JUstTest
  • Durango
  • osvaldo12
  • ethstaker
  • modclub
  • GTA5RPClips
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines