#regularexpression — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #regularexpression, aggregated by home.social.
-
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) -
𝗥𝗲𝗴𝗲𝘅 𝗟𝗲𝗮𝗿𝗻:
#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
-
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
-
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
-
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
-
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
-
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 -
Regular Expression Derivatives in Python [pdf] [video]
#HackerNews #RegularExpression #Derivatives #Python #FOSDEM2018 #Programming #Tutorials
-
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://www.the-regex-game.com/?level=integer
and this imho is more geared towards beginners:
-
-
Just saw someone use "regexpert".
Gonna have to remember that one.
#programming #RegEx #RegularExpression #expert #TwoProblems #NowIHaveTwoProblems #NowYouHaveTwoProblems #regexpert
-
At some point there had to be a competition for who can create the most fked up syntax for regular expressions. And I feel like #vim was probably in the top three. Non-greedy being \{-} is WILD.
(Yes, I'm aware of the history, it's a joke. But also apparently nobody ever thought about standardizing it for developer's sanity)
#regex #regularexpression -
Things I Learned Today
#TILT #bash #linux
Still working on #regularExpression in bash.re='^~\s~\s~'
if [[ "${lineN}" =~ ${re} ]] ; then bla bla bla...The extra variable declaration is needed; found on web
"While not always necessary, it is advisable to store the regex in a variable first, because Bash has trouble with regex literals containing \." -
Things I Learned Today
#TILT #bash #linuxIt took me while to figure this out and now I remember that I fell in this hole before.
When using #regularExpression like:
if [[ ! ${suffix} =~ .*voScript.txt$ ]] ; then echo "something" ;fi
do NOT quote the regular expression. It is not a string.
-
Best answer on regexps ever? 🧐 😎
- What is the plural form of regex?
- If you've used more than one of them, you'll know that the plural of "regex" is "regrets." – cjs (Mar 14, 2022 at 23:46)
#regex #regexps #programmer #programming #devops #regularexpression
-
Hackaday Links: August 11, 2024 - “Please say it wasn’t a regex, please say it wasn’t a regex; aww, crap, it was a r... - https://hackaday.com/2024/08/11/hackaday-links-august-11-2024/ #regularexpression #hackadaycolumns #hackadaylinks #wiringharness #crowdstrike #bassinette #lithiumion #rootcause #bricking #wildcard #paywall #doggo #pylon #regex #tower #fire #grid #iot
-
#PCRE4J 0.3.0 has been released (#Java / #PCRE2 / #PCRE / #PerlCompatibleRegularExpressions / #Perl / #RegularExpression) https://pcre4j.org/
-
#PCRE4J 0.3.0 has been released (#Java / #PCRE2 / #PCRE / #PerlCompatibleRegularExpressions / #Perl / #RegularExpression) https://pcre4j.org/
-
#PCRE4J 0.3.0 has been released (#Java / #PCRE2 / #PCRE / #PerlCompatibleRegularExpressions / #Perl / #RegularExpression) https://pcre4j.org/
-
PCRE( Perl Compatible Regular Extension) maintainer is needed.
-
@tripleo You’re thinking of #Perl’s “taint mode” (stop your teenage giggling), where outside data is untrusted unless it’s the extracted subpattern match in a #RegularExpression.
It’s only enabled under certain conditions. Read about it in the `perlsec` manual page: https://perldoc.perl.org/perlsec#Taint-mode
#programming #security #InfoSec #CyberSecurity #RegEx #RegExp
-
@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html
It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre
#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp
-
@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html
It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre
#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp
-
@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html
It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre
#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp
-
@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html
It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre
#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp
-
@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: https://pcre.org/current/doc/html/pcre2compat.html
It's not "(C)ompatible." Accept no substitutes: https://perldoc.perl.org/perlre
#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp
-
I just published “Hugo Regular Expressions (featuring ignoreFiles)” at
https://www.ii.com/hugo-regular-expressions-ignorefiles/
#InfiniteInk #GoHugo #Hugo #ignoreFiles #RE2 #RegEx #RegExp #RegularExpression #RegularExpressions #ReplaceRE #Tech #Byℵ #ByNM -
I just published “Hugo Regular Expressions (featuring ignoreFiles)” at
https://www.ii.com/hugo-regular-expressions-ignorefiles/
#InfiniteInk #GoHugo #Hugo #ignoreFiles #RE2 #RegEx #RegExp #RegularExpression #RegularExpressions #ReplaceRE #Tech #Byℵ #ByNM -
I just published “Hugo Regular Expressions (featuring ignoreFiles)” at
https://www.ii.com/hugo-regular-expressions-ignorefiles/
#InfiniteInk #GoHugo #Hugo #ignoreFiles #RE2 #RegEx #RegExp #RegularExpression #RegularExpressions #ReplaceRE #Tech #Byℵ #ByNM -
I just published “Hugo Regular Expressions (featuring ignoreFiles)” at
https://www.ii.com/hugo-regular-expressions-ignorefiles/
#InfiniteInk #GoHugo #Hugo #ignoreFiles #RE2 #RegEx #RegExp #RegularExpression #RegularExpressions #ReplaceRE #Tech #Byℵ #ByNM -
I just published “Hugo Regular Expressions (featuring ignoreFiles)” at
https://www.ii.com/hugo-regular-expressions-ignorefiles/
#InfiniteInk #GoHugo #Hugo #ignoreFiles #RE2 #RegEx #RegExp #RegularExpression #RegularExpressions #ReplaceRE #Tech #Byℵ #ByNM -
Just so we're clear: I include #Matrix direct messaging link in format of https://matrix.to/#/@vintprox:envs.net 👌...which #YouTube has no trouble with. The reason I even publish DM link instead of my #MatrixSpace, though, is because YouTube has a meltdown from links containing a second # (number sign, replace @ with it to get into my space).
From technical POV, it's one correct #RegularExpression away for YouTube, as many modern social media and video platforms can handle it and do use normal #regex. But, on the other hand, #MatrixTo service just shouldn't be employing such flawed #URL pattern or provide an alternative one, even if #URI standard allows the former to exist.
So, yeah, there is that - it is hard to gather video viewers in such a place. It's a single thing that I miss from Discord invite links. Matrix ones don't need a vanity and it's sweet - one solution is put it through #URLShortner, but then the entire point is lost.
-
Just so we're clear: I include #Matrix direct messaging link in format of https://matrix.to/#/@vintprox:envs.net 👌...which #YouTube has no trouble with. The reason I even publish DM link instead of my #MatrixSpace, though, is because YouTube has a meltdown from links containing a second # (number sign, replace @ with it to get into my space).
From technical POV, it's one correct #RegularExpression away for YouTube, as many modern social media and video platforms can handle it and do use normal #regex. But, on the other hand, #MatrixTo service just shouldn't be employing such flawed #URL pattern or provide an alternative one, even if #URI standard allows the former to exist.
So, yeah, there is that - it is hard to gather video viewers in such a place. It's a single thing that I miss from Discord invite links. Matrix ones don't need a vanity and it's sweet - one solution is put it through #URLShortner, but then the entire point is lost.
-
Just so we're clear: I include #Matrix direct messaging link in format of https://matrix.to/#/@vintprox:envs.net 👌...which #YouTube has no trouble with. The reason I even publish DM link instead of my #MatrixSpace, though, is because YouTube has a meltdown from links containing a second # (number sign, replace @ with it to get into my space).
From technical POV, it's one correct #RegularExpression away for YouTube, as many modern social media and video platforms can handle it and do use normal #regex. But, on the other hand, #MatrixTo service just shouldn't be employing such flawed #URL pattern or provide an alternative one, even if #URI standard allows the former to exist.
So, yeah, there is that - it is hard to gather video viewers in such a place. It's a single thing that I miss from Discord invite links. Matrix ones don't need a vanity and it's sweet - one solution is put it through #URLShortner, but then the entire point is lost.
-
Just so we're clear: I include #Matrix direct messaging link in format of https://matrix.to/#/@vintprox:envs.net 👌...which #YouTube has no trouble with. The reason I even publish DM link instead of my #MatrixSpace, though, is because YouTube has a meltdown from links containing a second # (number sign, replace @ with it to get into my space).
From technical POV, it's one correct #RegularExpression away for YouTube, as many modern social media and video platforms can handle it and do use normal #regex. But, on the other hand, #MatrixTo service just shouldn't be employing such flawed #URL pattern or provide an alternative one, even if #URI standard allows the former to exist.
So, yeah, there is that - it is hard to gather video viewers in such a place. It's a single thing that I miss from Discord invite links. Matrix ones don't need a vanity and it's sweet - one solution is put it through #URLShortner, but then the entire point is lost.
-
Just so we're clear: I include #Matrix direct messaging link in format of https://matrix.to/#/@vintprox:envs.net 👌...which #YouTube has no trouble with. The reason I even publish DM link instead of my #MatrixSpace, though, is because YouTube has a meltdown from links containing a second # (number sign, replace @ with it to get into my space).
From technical POV, it's one correct #RegularExpression away for YouTube, as many modern social media and video platforms can handle it and do use normal #regex. But, on the other hand, #MatrixTo service just shouldn't be employing such flawed #URL pattern or provide an alternative one, even if #URI standard allows the former to exist.
So, yeah, there is that - it is hard to gather video viewers in such a place. It's a single thing that I miss from Discord invite links. Matrix ones don't need a vanity and it's sweet - one solution is put it through #URLShortner, but then the entire point is lost.