Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos removed (hopefully) #1025

Merged
merged 1 commit into from Nov 24, 2021
Merged

Typos removed (hopefully) #1025

merged 1 commit into from Nov 24, 2021

Conversation

hoergen
Copy link
Contributor

@hoergen hoergen commented Sep 26, 2020

No description provided.

@MrPetovan
Copy link
Collaborator

Follow-up to #1024

4. To colapse every post that contains more than 1 image `body matches "/(?:(?:(?:\\[url(?:=.*)?\\])?\\[img(?:=.*)?\\].*\\[\\/img\\]\\s*(?:\\[\\/url\\])?)\\s*){2}/"`
1. Collapse posts with specific domains `body matches "/\\.example\\.com/"`
2. Collapse posts that contains the words `body matches "/Guten Morgen/"`
3. Collapse posts with the word facebook that have a space in front and after the word `body matches "//s facebook/s /"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure it's /s? I feel like you're expecting the "any whitespace" character class but it would be \s, and in this case, possibly \\s because of the way we're entering the regular expression.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ping @hoergen

@MrPetovan MrPetovan merged commit 4d7c1e7 into friendica:develop Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants