Muss ich jetzt wirklich so was hier benutzen?
.*[Ss][Ee][Ll][Ee][Cc][Tt].*[Ff][Rr][Oo][Mm]
Muss ich jetzt wirklich so was hier benutzen?
.*[Ss][Ee][Ll][Ee][Cc][Tt].*[Ff][Rr][Oo][Mm]
We've added an optional "Regex" field to Custom Bangs for more precise control. You can now define exactly how your query is split to create more powerful shortcuts.
Read more about this in our latest changelog: https://kagi.com/changelog#7389
Tips for Making Regular Expressions Easier to Use in JavaScript, by @rauschma:
This is a good overview of how regex works
“Regex is a pattern-matching language; it’s a way to expressively describe patterns that match strings (e.g., words or sentences). For example, say you’re searching your hard drive for an image called foo, but you cannot remember if it’s a JPEG or a ...continues
See https://gadgeteer.co.za/this-is-a-good-overview-of-how-regex-works/
Offensichtlich beherrsche ich #regex doch nicht so gut, wie ich dachte.
Ich wollte mir für https://addons.mozilla.org/en-US/firefox/addon/redirector/ einen redirect basteln, der AI in der google Suche deaktiviert
Edit: Dank an @barubary für die passende Lösung.
Finally found the TUI that we all needed
**scooter** — Interactive find and replace in the terminal.
Supports regex, themes, syntax highlighting & more!
Written in Rust & built with @ratatui_rs
#regex - это воплощение поговорки “смотрю в книгу - вижу фигу”
@PragmaticAndy Ive felt the same myself - pedantry for writing comms helped my coding skills alot.
However, while Python is useful in order to have an experiment it provides a ceiling.
Would this be the case for using #regex for instance?
Or multi dimensional arrays in Gawk?
Linux Mint Introduces More Regex Filters to Nemo #news #linux_mint #nemo #regex
https://www.omgubuntu.co.uk/2025/04/linux-mint-regex-support-nemo
@dansup @Gargron Also, the Mastodon filter implementation is anything but powerful since the capability for #RegEx has been removed.
Many things cannot be filtered anymore at all, others need tons of primitive filters what could be accomplished with a single RegEx before.
I still don’t get the reason behind tha removal. It just does not make sense.
#LeSigh
Im trying to provide aliases for #regex definitions so that humans would be able to understand things better scanning my coding.
However, an identifier as terse as `/[^\s\t_-\/\.=<>:]+/` becomes hideously long to describe in english descriptors.
Is there a midpoint reference or shorthand that could serve as a compromise?
I may just provide a vague numbered reference as a hack - but this obviously is ineligent and a recipe for bugs (should I label something else with the same nomenclature)
I'm really puzzled by notmuch's regexs. How the hell more inclusive search terms giving less matches? What am I doing wrong?
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:
When regex is harder than ancient scripts.
@bortzmeyer Zig is one of three languages I have my eye on!
- #Zig - Procedural and easier to read than C.
- #Haskell - Functional in the extreme.
- #Rakulang - Can be functional, can be procedural, can be OO. Fantastic grammar / #regex model.
I think they complement each other. Every Haskell guy I have introduced to Raku has loved it. I've known a few people who use Zig when they don't feel like being purely functional.
And old, powerful, and mysterious language...
#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!