You can omit the caret in that one too.Only if I was golfing and not worried about being clear and working in all circumstances. I never trust the empty match, since it depends on the most recent successful match. True, here, it defaults to an empty string, but why count on that when one single character fixes that problem and communicates the proper intent?
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: Re: numbered sourcecode listing (oneliners)
by merlyn
in thread numbered sourcecode listing (oneliners)
by crazyinsomniac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |