In perl, regular expressions are given special importance that make it natural to work with patterns without having to do a lot of extra work.
UPDATE: indeed, the sed-in-place perl -i -pe 's/word/lol/' is just about the coolest thing of all.
-Paul
In reply to Re: why text processing is fast in perl
by jettero
in thread why text processing is fast in perl
by anilkumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |