[identity profile] atreic.livejournal.com 2012-03-08 04:21 pm (UTC)(link)
I don't like GUIs / fluffy hand holding programs. I'm prepared to believe this is an irrational prejudice and actually this is a much easier way to deal with regex. Then again, if it isn't BBC BASIC I think it's too fluffy and modern ;-)

[identity profile] momentsmusicaux.livejournal.com 2012-03-08 04:53 pm (UTC)(link)
Is there such a thing as a lovely IDE? I've yet to find one that doesn't fail on totally basic text editing UI or have a crapton of fiddly buttons with totally mysterious icons. In other words, they all look too much like KDE!

[identity profile] momentsmusicaux.livejournal.com 2012-03-08 04:58 pm (UTC)(link)
Haven't tried it, as don't feel like spending that much on something like that.

I've tried Eclipse and NetBeans and they're both dire.

[identity profile] khoth.livejournal.com 2012-03-08 06:38 pm (UTC)(link)
Visual Studio Express does the basics, and is free. (Assuming you already have and use Windows)

[identity profile] momentsmusicaux.livejournal.com 2012-03-08 08:20 pm (UTC)(link)
OS X, I'm afraid. Or rather, I'm not, if you see what I mean :)

[identity profile] channelpenguin.livejournal.com 2012-03-08 06:24 pm (UTC)(link)
second that. VS IDE rocks quite hard. There is WAY more goodies to it than Andy mentions or that I can list here...

[identity profile] call-waiting.livejournal.com 2012-03-08 08:35 pm (UTC)(link)
I have to freely admit that I really do like VS's debugging, and Intellisense is the best implementation of autocompleting that I've ever seen.

Having said that, it 'feels' wrong to me as an editor, and I almost always work in a language where intellisense would be exactly equivalent to the plain old symbol-name autocomplete that I have in EMACS.

[identity profile] call-waiting.livejournal.com 2012-03-08 08:36 pm (UTC)(link)
Actually I guess that's not strictly true, I also work a lot in Perl and Python, but in Python I just use dir() in an interactive session and it tells me everything I need to know.

[identity profile] andlosers.livejournal.com 2012-03-08 11:03 pm (UTC)(link)
Visual Studio is lovely. I use NetBeans 7 right now, but because it's based on Java, it's dog slow in a way that slow dogs would be embarrassed to be associated with (while still being faster than Eclipse).

I've never found anything I really like for non .NET stuff - instead, I use an IDE until I get to the end of my tether with it, and move onto the next one. I can sort of see why people use vim, although that's always felt like seven shades of awful to me too.

If there was an IDE that just worked for my purposes, and did so well, I'd pay a thousand pounds for it, easily. Until then, a combination of things that don't quite work and Google gets me through.
ckd: (cpu)

[personal profile] ckd 2012-03-08 04:28 pm (UTC)(link)
I'd also say "Ergh", but because "[o]ur goal is to make Expresso the best .NET regular expression development tool on the planet" makes it rather pointless for me and their "it's free but we will nag you until you give us your email address" thing would a bit grumpy-making if I were going to install it.

(There's probably more than a little "in my day we wrote our regexps uphill in the snow both ways and we LIKED it", as well.)

[identity profile] momentsmusicaux.livejournal.com 2012-03-08 04:52 pm (UTC)(link)
You know about the extended flag, right? It means you can add whitespace and comments to a regex, so you can have something like:

$regex = '@
\s+ # match some initial whitespace
( \w+ ) # capture the first word
@';

and so on.

[identity profile] momentsmusicaux.livejournal.com 2012-03-08 04:54 pm (UTC)(link)
Heh, any I write that are longer than a dozen characters or a bit hairy I explode like that. Because I know I'll need to understand them in 6 months' time.

*insert rant about shoddy coders here*

[identity profile] call-waiting.livejournal.com 2012-03-08 08:31 pm (UTC)(link)
So what you *really* want, Andy, isn't a regexp *editor* so much as a regexp *pretty printer.

I'd be shocked if there wasn't something like that already: give it a V8 regexp, and it'll spit it out nicely formatted in /x format.

[identity profile] skington.livejournal.com 2012-03-08 09:18 pm (UTC)(link)
Then add white space etc. to them yourself. Build a test suite with enough data extracted from the wild that you're confident that you're not breaking the regex, if it's complicated enough.

[identity profile] poisonduk.livejournal.com 2012-03-08 05:08 pm (UTC)(link)
Have you looked at crimson editor? It reformats all my korn shelland PL SQL. Stuff with pretty colours.
ext_58972: Mad! (Default)

[identity profile] autopope.livejournal.com 2012-03-08 07:04 pm (UTC)(link)
If you're having difficulty, the correct thing to do is to use a regexp species that is sufficiently expressive that it can incorporate whitespace, indentation, and if necessary multiline comments. Like Perl's been doing for the past fifteen years.