Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!
So every now and again I run into RegEx's. I have no real need to learn them, except a compulsion to continue understanding the "in" things in computers, but I have discovered that they are fantastic when you need to do large scale transforms of structured text.
The problem is, I have no editor which makes this process easy. My current favorite website is this one (RegExr) which has an excellent quick reference and shows me in real time what I'm writing, so I can figure things out. It's how I've been learning so far, and I also use it for practical tasks.
Is there any free software though which will let me do something similar locally though? I'd kind of like not to be dependent on a website's continued existence to process text/test out regex's, and unfortunately, Notepad++'s support is pretty poor.
Cancer is when cells stop letting the body mooch off their hard work - clearly a community of like-minded cells should isolate themselves and do the best job each can do, even if the rest of the body collapses!
Rexexps are a unix standby and correspondingly the editors that make best use of them are *nix natives. Most have windows ports though - look into vi, emacs, and acme.
Cancer is when cells stop letting the body mooch off their hard work - clearly a community of like-minded cells should isolate themselves and do the best job each can do, even if the rest of the body collapses!
Notepad++ has bad Regex support. It can do simple functions, but it has no lookahead/lookbehind behavior which severely limits what you can do (or at least, what you can do easily). It's also not very informative about what a regex will do.
It's why I like RegExr - it tells you exactly what it's doing and why. So it's great for learning or developing a regex, but more importantly it's wonderful when you just need to process a unique bit of text without hassle.
Don't get me wrong - I love Notepad++ - but it really needs better support for regex's to make it an easy to use tool.
Cancer is when cells stop letting the body mooch off their hard work - clearly a community of like-minded cells should isolate themselves and do the best job each can do, even if the rest of the body collapses!
I've found "Programmer's Notepad" to be one of the best freeware text editors available, supporting a variety of languages and offering a robust regular expression engine. The only negative I've found is that it doesn't support hex expressions (e.g., [\x00-\xFF]).
Related but separate, the documentation indicates that it doesn't support multi-line expressions, but it can be done with creative use of \w,\W and \s expressions and lookaround constructs.
Posts
The PhalLounge :: Chat board for Phalla discussion and Secret Santas :: PhallAX 2013
Critical Failures IRC! :: #CriticalFailures and #mafia on irc.slashnet.org
[edit: I should add, thanks for the link, that's an awesome website I'll be making use of myself
Huh. Perfect!
Now I feel stupid I didn't find that myself.
Joe's Stream.
Notepad++ has bad Regex support. It can do simple functions, but it has no lookahead/lookbehind behavior which severely limits what you can do (or at least, what you can do easily). It's also not very informative about what a regex will do.
It's why I like RegExr - it tells you exactly what it's doing and why. So it's great for learning or developing a regex, but more importantly it's wonderful when you just need to process a unique bit of text without hassle.
Don't get me wrong - I love Notepad++ - but it really needs better support for regex's to make it an easy to use tool.
Related but separate, the documentation indicates that it doesn't support multi-line expressions, but it can be done with creative use of \w,\W and \s expressions and lookaround constructs.
http://www.pnotepad.org/