@macgraveur j'attends ta #regex avec les noms finissant en ic (britto-croate)
@macgraveur j'attends ta #regex avec les noms finissant en ic (britto-croate)
#python #pandas #regex
Ein großer Fallstrick für mich, sind die unterschiedlichen Rückgabewerte.
pandas lässt recht einfach auf den gesuchten Regex als Rückgabewert zugreifen, bei python zusammen mit re braucht es eine extra Schleife, wenn man den Regex als Rückgabewert will.
Der Kleinkram macht immer den Unerschied!
Stanford scientists discover new Ozempic alternative with RegEx — https://twitter.com/lauriewired/status/1898149987890217033
#HackerNews #Stanford #scientists #RegEx #Ozempic #alternative #health #discovery
Today was another day where I'm glad that I know the the cat-walks-on-keyboard patterns of #regex for searching and analysing thousands of rows in a textfile.
When trying to fix a RegEx that is not matching, is there a better way than staring intensively at it hoping to find the problem?
I have a #regex problem
https://www.wikidata.org/wiki/Property:P12852 allows " [-]?[1-9]\d* " as the regex for the external identifier. From what I understand, the identifier could then start or not with a - (which is great, because some IDs have it and some haven't).
Except when I try to add the identifier "-24371055" (with the initial -) here https://inventaire.io/entity/inv:85e7620f1b40f78aeb53f1c62a0507ab on @inventaire I get an error message. Inventaire uses #Wikidata properties and constraints.
What am I missing?
Sharpening my coding skills with LeetCode!
#LeetCode #SQL #Regex
A relire : Avoir une explication d'une regex dans Visual Studio Code avec Regexp Explain
https://blog.shevarezo.fr/post/2021/10/14/explication-regex-visual-studio-code-regexp-explain
Pretty print & syntax highlight #Markdown on the console for those #LLMs responses, or use some ANSI color codes to improve your logs.
Just some #Java and #Regex and you're good to go! Nothing fancy! Translatable in other langs too.
https://glaforge.dev/posts/2025/02/27/pretty-print-markdown-on-the-console/
Mastodon's Formatting of Shortened Links May Break Your Parser (It broke mine…)
Read more below
Regular Expressions are always beautiful:
/( . )( . )/
This worked on the first try.
:%s/^\(.*@[^"]\+"\),.*/\1/g
#RegEx #RegularExpressions #vim
I fully expect two kinds of responses to this:
Just constructed a 9905-character long regular expression and now I need a shower
#Development #Techniques
More useful HTML number inputs · How to use the ‘step’ and ‘pattern’ attributes https://ilo.im/162c3w
_____
#HTML #Form #Numbers #Format #Regex #Granularity #Validation #Browser #WebDev #Frontend
@fbfortune
Actually locate will find any file with a name that contains the given string. Or #regex.
Or #chtulhufhtagn enchanting
Passgenaue #Regex sind auch so Wunderzeuch:
Suchbegriff 'Tod' gefunden in: Kontodaten
macro is not a replacement for learning regular expressions since there are nuances that a DSL can cover such language specific syntax like PCRE; rather, productivity is the key. As for me, I do not want to write raw regular expression, I would prefer an abstraction to make it easier on the eyes and hands.
#regex
http://francismurillo.github.io/2017-03-30-Exploring-Emacs-rx-Macro/