"Leandro Lucarella" <[email protected]> wrote in message news:[email protected]... > Nick Sabalausky, el 8 de agosto a las 13:31 me escribiste: >> "Norbert Nemec" <[email protected]> wrote in message >> news:[email protected]... >> >I usually do the same thing with a shell pipe >> > expand | sed 's/ *$//;s/\r$//;s/\r/\n/' >> > >> >> Filed under "Why I don't like regex for non-trivial things" ;) > > Those regex are non-trivial? >
IMHO, A task has to be REALLY trivial to be trivial in regex ;) > Maybe you're confusing sed statements with regex, in that sed program, > there are 3 trivial regex: > Ahh, I see. I'm not familiar with sed, so my eyes got to the part after "sed" and began bleeding, so I figured it had to be one of three things: - Encrypted data - Hardware crash - Regex ;) Insert other joke about "read-only languages" or "languages that look the same before and after RSA encryption" here. (I'm not genuinely complaining about regexes. They can be very useful. They just tend to get real ugly real fast.)
