danaeris: (naughty)
[personal profile] danaeris
I kick ass.

I have never learned Perl. However, out of frustration at the crappy regexps that our codemonkey charged my prof $250 for, I decided to take matters into my own hands.

Using this webpage, I learned how to insert a period into the regexp (\.! I finally get it!), and did so. Now instead of having to fix the publication on every item, I just need to insert a . at the right place before I have the regexp proces it.

I also resolved that there is no way to resolve the date + letter issue, but that these process just fine when the letter is deleted before the regexp processes it. A hell of a lot easier than processing the whole thing by hand!

Given that I haven't coded since my freshman year of university, and I never learned Perl, I'm feeling pretty proud of myself. Just looking at a few of these I was able to start reading them. They actually make sense to me now, and I feel like I can actually fix them and work with them! It's super exciting!

Date: 2008-01-12 06:52 am (UTC)
garden_hoe21: (Default)
From: [personal profile] garden_hoe21
Le yays!

Date: 2008-01-12 07:06 am (UTC)
From: [identity profile] darthsunshine.livejournal.com
Yay, you!! Congratulations. Isn't it a great feeling to figure out something like that?!

Date: 2008-01-12 05:54 pm (UTC)
From: [identity profile] dicedork.livejournal.com
That's pretty impressive. If I knew you any better, I'd ask what you were wearing.

Date: 2008-01-12 05:58 pm (UTC)
From: [identity profile] hellsop.livejournal.com
If you're thinking this is a good thing to have, there's an EXCELLENT book on just regexps (http://www.oreilly.com/catalog/regex/inx.html) from O'Reilly.

Date: 2008-01-12 07:20 pm (UTC)
From: [identity profile] danaeris.livejournal.com
Hmm, that might be useful eventually, if I continue to do research projects that involve citation analysis.

Date: 2008-01-12 06:53 pm (UTC)
cos: (Default)
From: [personal profile] cos
What's the date + letter issue?

Date: 2008-01-12 07:18 pm (UTC)
From: [identity profile] danaeris.livejournal.com
Actually, I just fixed it. Squee! I'm guessing wildly that you were going to offer to help, and if so, thanks. :)

Profile

danaeris: (Default)
danaeris

August 2022

S M T W T F S
 123456
78910111213
14 151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 22nd, 2026 03:12 pm
Powered by Dreamwidth Studios