#perl - Wed 9 May 2007 between 12:40 and 12:45



FuzzyBwoggle: hexdump says he's not
woggleIn that case multiple-whitespace delimited.
Actually, probably not. Probably fixed width.
dunstabulosFuzzyB: that .* could bite you
woggleSo unpack() is nice there.
FuzzyBlike i said, i'm not the regex master
that probally doesn't work
but it's worth a shot
dunstabulosdo we have a data sample?
FuzzyBkinda
godson_woogle
woggleThis is not about writing a regex. It's about devloping a specification for that data.
godson_ok
dunstabulosbring on perl 6 grammars!
FuzzyBJOHNATHAN, CAMP 4567 Happy Face Lane VA 20024 234445322 M
godson_well i got 15 bucks for whoever get this working
FuzzyBthat's what he gave me
woggleOne line does not a specification make.
But I think fixed width a reasonable guess based on the available information.
Yaakoveval: $_="JOHNATHAN, CAMP 4567 Happy Face Lane VA 20024 234445322 M
buubotYaakov: Error: Can't find string terminator '"' anywhere before EOF at eval line 1.
YaakovGR
GRRRR
FuzzyBwoggle: ya but he won't give me enough data to make that assumption
woggleHe hasn't given enough data to make just about any assumption.
godson_ok
so what else do you guys need
FuzzyByour first born
godson_lol
FuzzyBand something more than lunch
Yaakovperlbot: regex question
perlbotWhen you ask a regex question you won't get a good answer without three things: 1) The language it will be written in; 2) An example of the REAL input data, not a faked up version; and 3) What you need out and how you will use it.
wogglegodson_: Ideally, you have some documentation describing the format of this data (possibly in source form). Alterantely, you can say whether or not fixed-width fields fits the rest of your data.
YaakovOK, I so *totally* missing the difficulty with that inpt data.
input
What is the complication?
godson_well all I have is this large dumped text file
is all i got
its got tons of info in that format
wogglegodson_: Or just hope that splitting on multiple whitespace does the Right Thing.

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive