in reply to Re: Re: numbered sourcecode listing (oneliners)
in thread numbered sourcecode listing (oneliners)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: numbered sourcecode listing (oneliners)
by Anonymous Monk on Aug 30, 2001 at 11:43 UTC | |
|
Re: Re: Re: Re: numbered sourcecode listing (oneliners)
by PetaMem (Priest) on Jul 30, 2001 at 18:09 UTC | |
by merlyn (Sage) on Jul 30, 2001 at 21:34 UTC |