Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

  (email not shown publicly)
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [], and here [] too, I ramble randomly in my philosophical blog [] and my other blog []. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Saturday February 16, 2002
05:38 PM


[ #2912 ]
Well, I seemed to remember something in the Cookbook about pulling sentences out of text, so I went searching for the regex grab-bag in there. Found it, did it. Got a problem.

It's showing really funky behavior; on the simple test text:

Chiseling bastard, with his monkeys and cheese! Whenever the rolling doily hits the left wing, the whole plane shudders a few times, and burning things fly out of the engine. That's probably bad, huh?

Where am I?

it drops the last line completely on the output.

I still need to fiddle around a little more to make sure it's not working right -- the first text I tested with was pretty screwed up, all random punctuation and such (I wanted to see how robust this method was), but missing a sentence out of something with such normal punctuation isn't good enough.

I also have to leave for now, but I expect to get a chance to Perl a little again later, sometime after I watch _Blue Velvet_. It will be the first David Lynch movie I ever see. :)

I hope that's a good thing.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • It's a kind of "out there" movie, but I thoroughly enjoyed it. Dennis Hopper completely rocks, Isabella Rossallini is hot, and Laura Dern (one of my personal favorites) is, well, one of my personal favorites.

    As a side note, this movie sparked somewhat of a comeback for Roy Orbison's music. I don't want to spoil it for you, so I won't say anything else.



    If things get any worse, I'll have to ask you to stop helping me.