this post was submitted on 10 Oct 2023
116 points (99.2% liked)

Voyager

5709 readers
81 users here now

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! ๐Ÿ‘‡

Number of sponsors badge

๐Ÿ’™

founded 1 year ago
MODERATORS
 

Hi there! Voyager 1.13.0 is now out! It will be on the stores within a day or so. :)

New Features

๐Ÿง›๐ŸŽƒ Happy Halloween! New Dracula theme

This is the first Voyager theme to customize the background (not just the primary color)! Check it out! Happy Halloween!

Tangerine theme

Thanks @sharunkumar for this nicely colored theme!

Keyword blocking

Begone, Elon/X spam! Please note that keyword blocking matches whole words (not partial words). Keyword blocks also remain on your device and do not sync.

Submit comment/post on ctrl+enter

This is a nicety for all you desktop users. Submitting content just get a whole lot lazier ๐Ÿ˜Ž Thanks @80avin for the pull request!

Cake day ๐Ÿฐ

If its someone's Cake Day, you'll now see a little cake by their username. Be sure to wish them Happy Cake Day! Thanks @sharunkumar for this feature!

This is a big release, so please let me know if you encounter any new bugs.

What's Changed

New Contributors

Full Changelog: https://github.com/aeharding/voyager/compare/1.12.0...1.13.0

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

regex is short for regular expression. Basically, you can define a pattern that, if something matches, it gets filtered out. For example, someone might want all posts with email addresses filtered out (idk, I'm just trying to think of an example), so you could do something like:

.+@.+\..+

The period is a wildcard, so any character.

+ means one or more of whatever comes before it

@ is literally the @ symbol

\. means literally the period symbol

So all together this means "one or more of any character followed by an @ symbol, followed by one or more of any character, followed by a period, followed by one or more of any character."

This would be a really rough regex to match an email address to filter it out.

Disclaimer: this can definitely be done way better than my expression. This was meant to be a simple example and not something you should actually use. This would capture way more than just email addresses and probably match pretty much anything with an @ symbol, including user mentions.