RE#: how we built the world's fastest regex engine in F#, https://iev.ee/blog/resharp-how-we-built-the-fastest-regex-in-fsharp/.

Excellent blog post!
Very interesting approach with new operations: intersection (&) and complement (~).

Implementation: https://github.com/ieviev/resharp-dotnet
Research paper: https://dl.acm.org/doi/abs/10.1145/3704837 (POP25)

#RegularExpression #regex

RE#: how we built the world's fastest regex engine in F# | ian erik varatalu

ian erik varatalu
Comparing regular expressions in Perl, Python, and Emacs

Comparing the syntax features of regular expressions in Perl, Python, and Emacs. Several other languages mostly overlap with Python.

John D. Cook | Applied Mathematics Consulting
Comparing regular expressions in Perl, Python, and Emacs

Comparing the syntax features of regular expressions in Perl, Python, and Emacs. Several other languages mostly overlap with Python.

John D. Cook | Applied Mathematics Consulting

𝗥𝗲𝗴𝗲𝘅 𝗟𝗲𝗮𝗿𝗻:

#Regex #RegularExpression #Regex #Learn

https://thewhale.cc/posts/regex-learn

Learn Regex step by step, from zero to advanced. Learning Regex is easier than you think. You can use this tool to easily learn, practice, test and share Regex.

My tip of the of the day.

To match a literal dot "." with a regular expression, write

"[.]"

instead of

"\\." or "\\\\." or even "\\\\\\\\.",

depending on context. 😀

#regex #regexp #regularexpression #programming #stringmatching

Sharkey supports Regular Expressions for your hard and soft word mutes. Mastodon should too! If not raise holy hell with them.

The syntax for a case-insensitive
#RegEx (#RegularExpression) for blocking "international airport" or "physical therapy" would be:

/.*international ?airport*./i
/.*physical ?therapy*./i

This would match:
- international airport
- International Airport
- InternationalAirport

And so on. Also, I'm purposefully not using any common triggers so as not to trigger any one.

Once you go regex in your word mutes you'll never want to go back to plain words ever again.


RE: https://social.growyourown.services/users/FediTips/statuses/114604240538234292
Fedi.Tips (@[email protected])

You don't need to use weird spellings or algospeak for any topics on the Fediverse ("unalived", "seggs" etc). There is no automated moderation or algorithm on here, moderation happens entirely through human beings and posts are shown in chronological order. In fact it's better that you use the correct spellings for difficult topics so that people with genuine traumas related to them can filter them more easily. #FediTips

social.growyourown.services
How do I use regular expressions to mute specific terms without muting them if they're just part of a word?
So like, in a stupid example:
I want to block "lol" but not "testloltest"
#regularexpressions #regularexpression #sharkey #misskey #wordmute

My PhD student was still feeling uncomfortable with #regex, so I searched and found these awesome regex games that can help you improve your regex-fu and help you have some fun during your daily commute:

https://regexcrossword.com

https://www.the-regex-game.com/?level=integer

and this imho is more geared towards beginners:

https://regexone.com

#RegularExpression

Regex Crossword

A crossword puzzle game using regular expressions. Earn achievements completing puzzle challenges. Easy tutorials for people new to regular expressions.

Regex Crossword

Regex quiz:

Does 5 match [+-=]?

#regex #regexp #regularExpression

Yes
0%
No
100%
Poll ended at .