Baby got Perl
Jan. 12th, 2008 01:15 amI 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!
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!