tolf and detab

Nick Sabalausky a at a.a
Sun Aug 8 22:04:11 PDT 2010


"Leandro Lucarella" <luca at llucax.com.ar> wrote in message 
news:20100808212859.GL3360 at llucax.com.ar...
> Nick Sabalausky, el  8 de agosto a las 13:31 me escribiste:
>> "Norbert Nemec" <Norbert at Nemec-online.de> wrote in message
>> news:i3lq17$99u$1 at digitalmars.com...
>> >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.)




More information about the Digitalmars-d mailing list