| FuzzyB | woggle: hexdump says he's not |
| woggle | In that case multiple-whitespace delimited. Actually, probably not. Probably fixed width. |
| dunstabulos | FuzzyB: that .* could bite you |
| woggle | So unpack() is nice there. |
| FuzzyB | like i said, i'm not the regex master that probally doesn't work but it's worth a shot |
| dunstabulos | do we have a data sample? |
| FuzzyB | kinda |
| godson_ | woogle |
| woggle | This is not about writing a regex. It's about devloping a specification for that data. |
| godson_ | ok |
| dunstabulos | bring on perl 6 grammars! |
| FuzzyB | JOHNATHAN, CAMP 4567 Happy Face Lane VA 20024 234445322 M |
| godson_ | well i got 15 bucks for whoever get this working |
| FuzzyB | that's what he gave me |
| woggle | One line does not a specification make. But I think fixed width a reasonable guess based on the available information. |
| Yaakov | eval: $_="JOHNATHAN, CAMP 4567 Happy Face Lane VA 20024 234445322 M |
| buubot | Yaakov: Error: Can't find string terminator '"' anywhere before EOF at eval line 1. |
| Yaakov | GR GRRRR |
| FuzzyB | woggle: ya but he won't give me enough data to make that assumption |
| woggle | He hasn't given enough data to make just about any assumption. |
| godson_ | ok so what else do you guys need |
| FuzzyB | your first born |
| godson_ | lol |
| FuzzyB | and something more than lunch |
| Yaakov | perlbot: regex question |
| perlbot | When 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. |
| woggle | godson_: 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. |
| Yaakov | OK, 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 |
| woggle | godson_: Or just hope that splitting on multiple whitespace does the Right Thing. |