in reply to splitting text into lines -- code -> regex
Should become:012345678901234567890123456789012345678901234567890 1234567890 VON 14.06.2004 BUCHUNGSKONTO 1234567890
(underscores and count on first line added for clarity)123456789012345678901234567 1234567890 VOM 14.06.2004__ BUCHUNGSKONTO 1234567890___
Should become:0123456789012345678901234567890123456789012345678901234567890123456789 +012345678901234567890123456 R12345678-A1234567 INCL.EUR 3,31 MWST JULI MONATL. GEB HR T-DSL FLAT +01.07.04-31.07.04 12,34
(underscores and count on first line added for clarity) (Note that in this case, my algorithm doesn't split it in quite the same place that the original did -- and not that yes, DTAG does spell Gebuehr as two words, for some strange reason, for those that know German.)123456789012345678901234567 R12345678-A1234567 INCL.EUR 3,31 MWST JULI MONATL. GEB_ HR T-DSL FLAT______________ 01.07.03-31.07.04 12,34
It appears that my bank is doing (the equivlent of) $comments = join (' ', '', map {s/ *$//; $_} @comments;; I'm attempting to undo that, and get back @comments.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: splitting text into lines -- code -> regex
by davido (Cardinal) on Jul 12, 2004 at 08:13 UTC | |
|
Re^2: splitting text into lines -- code -> regex
by bart (Canon) on Jul 12, 2004 at 08:40 UTC | |
|
Re^2: splitting text into lines -- code -> regex
by pelagic (Priest) on Jul 12, 2004 at 09:19 UTC | |
|
Re^2: splitting text into lines -- code -> regex
by graff (Chancellor) on Jul 13, 2004 at 03:08 UTC | |
by theorbtwo (Prior) on Jul 13, 2004 at 05:29 UTC | |
by ysth (Canon) on Jul 13, 2004 at 06:21 UTC |