#regularexpression — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #regularexpression, aggregated by home.social.
-
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
-
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/
-
@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.
-
@jernej__s @malwareminigun / \p{Quotation_Mark} solved \p{Quotation_Mark} /x #Perl #regex
(Note that doesn’t work with software using the #PCRE Perl “Compatible” #RegularExpression library because its #Unicode support is worse: https://www.pcre.org/current/doc/html/pcre2unicode.html#:~:text=Only%20the%20short%20names%20for%20properties%20are%20supported)
-
Hackaday Links: October 30, 2022 - Sad news for kids and adults alike as Lego announces the end of the Mindstorms lin... - https://hackaday.com/2022/10/30/hackaday-links-october-30-2022/ #regularexpression #hackadaycolumns #hackadaylinks #earthmusic #mindstorms #solarstorm #halloween #sferics #slider #regex #doom #fmri #lego #c64
-
Hackaday Links: October 30, 2022 - Sad news for kids and adults alike as Lego announces the end of the Mindstorms lin... - https://hackaday.com/2022/10/30/hackaday-links-october-30-2022/ #regularexpression #hackadaycolumns #hackadaylinks #earthmusic #mindstorms #solarstorm #halloween #sferics #slider #regex #doom #fmri #lego #c64