I've been looking for cheat sheets for Regex, as a few of my extensions use it. And I stumbled upon this site https://overapi.com, pic related. The main page offers a ton of cheat sheets for many programming languages, complete with links to the documentation when you click on each element. The thing is, the site itself is a bit questionable (why does it have categories for Facebook and Yahoo that only link to the main site and their Wikipedia page?), but this got me thinking, what are some must have resources for this sort of stuff? I don't mean just programming languages, I'm especially interested in stuff like the uBO solutions list they have on Reddit: https://old.reddit.com/r/uBlockOrigin/wiki/solutionshttps://old.reddit.com/r/uBlockOrigin/wiki/solutions/youtubeAnd yes, I know there's an official /g/ wiki, but it's a bit intimidating to slog through because of how much stuff is in there.
regex isn't really that complex, if remembering the full letter anchor and character classes, just don't do it, and use [a-z] character range tokens instead, they're always portable and make you immune to extended regex compatibility BS.
>>106780309Don't get me wrong, I'm not trying to do anything fancy with it. I'm a filthy no-coder. I just use it for the Redirector add-on and for the 4chan XT filter. Even so, I managed to fuck it up a while back and filtered the entire board, almost every single thread. To this day, I'm not entirely sure how, but I started over since then and was more careful and precise with my picks.
whats with the stupid texture'd backdrop?
>>106780465I don't know, the site itself is quite weird. Which is why I was asking for better alternatives. I know there are a ton of cheat sheet websites out there, but that makes finding the best ones even harder.
>>106780287I just use something like regexr when I need to write complex regex. You learn a lot faster actually applying the stuff in real-time than attempting to memorize everything.
>>106780491I personally use Regex101https://regex101.comNot entirely what you want, but it DOES have a list of things in the bottom rightIf you need something more structured, the Ruby Regex docs are decent, and cover a lot of things. Not all of them are supported by every regexp engine, but a lot of things use the same engine ruby doeshttps://devdocs.io/ruby~3.4/regexp
>>106780512>>106780665Thanks! I don't know how well real time testing it would go though, seeing as the extensions I input it in (Redirector and 4chan XT's filter fields) already have most of the code built-in so to speak.
>>106780788Javascript, which those use, has mostly the same regexp as ruby, so you should be good
>>106780287imagine writing regex manually in current year. If it's more complicated than a couple dots and stars and special characters i just tell gpt to do it desu, i really can't be bothered to think about regex anymore
>cheat sheet for regex/anythingis it 2013 again?literally just put whatever regex you want into Claud, ChatGPT
>>106781173>>106781336I'd rather use both. Chatbots do screw up quite often.
>>106781389Tell ChatGPT to make you a cheatsheet
>>106781173>>106781336>>106781471AI bot spotted.
>>106781173>>106781336LLMs are unbelievably useless the moment you need anything even slightly complex. Applies to RegEx, JS, CSS, programming. If you'd rather have jeet-tier code in your project instead of spending a few minutes learning and tinkering then you plainly never coded anything worthwhile to begin with and you should never open your mouth or even think about giving your unwanted, retarded opinion to others again
>>106781616It’s worth noting that the llm trainers were stupid enough to use the stack exchange questions as correct input.In some esoteric areas chat spits out almost the exact question that was asked as an answer, omitting the “why doesn’t this code work”
>>106780287I had a hard time with regex when I started out, but I did an online course about it on linkedin learning or youtube I don't remember, and it explained things really well.I don't think you will actually learn much or anything from these cheat sheets as a beginner. Just do some exercises, get the basics down, and you'll know what to search for when you want to do something you don't already know.