Egregoros

Signal feed

Timeline

Post

Remote status

Context

4

@hj @kirby thanks that makes a lot of sense in hindsight but i like to pretend js doesnt exist so i ignored that as an option without realizing it. does that mean i have to use the slashes too or just the pattern inside the slashes? and if so, does that mean I can add regex flags too?

Replies

6

@hj @kirby while I have your attention, is there a better way to drop quote poasts entirely short of a (case-sensitive) regex pattern like this:

\b(RT|RE|QT): http[s]*://

there are some edge cases I have seen like where urls dont have http[s]:// at the start but this seems to get 90% of the way there. To the best of my knowledge there is no direct toggle in the settings for it.