In <12839.969393548@chthon>, Tom Christiansen writes:
:What can be done to make $ work "better", so we don't have to
:make people use /foo\z/ to mean /foo$/? They'll keep writing
:the $ for things that probably oughtn't abide optional newlines.
:
:Remember that /$/ really means /(?=\n?\z)/. And l
> "TC" == Tom Christiansen <[EMAIL PROTECTED]> writes:
>> Could you explain what the problem is?
TC> /$/ does not only match at the end of the string.
TC> It also matches one character fewer. This makes
TC> code like $path =~ /etc$/ "wrong".
Sorry, I'm missing it.
$_ = "etc\n";
>> "TC" == Tom Christiansen <[EMAIL PROTECTED]> writes:
>>> Could you explain what the problem is?
>TC> /$/ does not only match at the end of the string.
>TC> It also matches one character fewer. This makes
>TC> code like $path =~ /etc$/ "wrong".
>Sorry, I'm missing it.
I know.
On your
On Wed, 20 Sep 2000 10:03:08 +0100, Hugo wrote:
>In <12839.969393548@chthon>, Tom Christiansen writes:
>:What can be done to make $ work "better", so we don't have to
>:make people use /foo\z/ to mean /foo$/? They'll keep writing
>:the $ for things that probably oughtn't abide optional newlines.
>That was my second thought. I kinda like it, because //s would have two
>effects:
> + let . match a newline too (current)
> + let /$/ NOT accept a trailing newline (new)
Don't forget /s's other meaning.
--tom
Tom Christiansen wrote:
> Don't forget /s's other meaning.
Do you enjoy making people ask what you're talking about? What other
meaning did you have in mind, overriding $*?
--
Robert Mathews
Software Engineer
Excite@Home
>Tom Christiansen wrote:
>> Don't forget /s's other meaning.
>Do you enjoy making people ask what you're talking about?
Of course not. I enjoy giving people enough pointers to help them
learn things for themselves.
>What other
>meaning did you have in mind, overriding $*?
Yes.
--tom
On Thu 21 Sep, Hugo wrote:
> perl6-language-regex
>
> Summary report 2920
>
> Mark-Jason Dominus has relinquished the wg chair due to the pressure
> of other commitments; I'll be taking over the chair for the short
> time remaining. Thanks to Mark-Jason for all h
perl6-language-regex
Summary report 2920
Mark-Jason Dominus has relinquished the wg chair due to the pressure
of other commitments; I'll be taking over the chair for the short
time remaining. Thanks to Mark-Jason for all his hard work.
I'll be contacting the authors of all outsta
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
counting matches
=head1 VERSION
Maintainer: Richard Proctor <[EMAIL PROTECTED]>
Date: 16 Aug 2000
Last Modified: 20 Sep 2000
Mailing List: [EMAIL PROTECTED]
Number: 110
Version: 6
Status: Fro
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Allow Varibles in tr///
=head1 VERSION
Maintainer: Richard Proctor <[EMAIL PROTECTED]>
Date: 27 Aug 2000
Last Modified: 20 Sep 2000
Mailing List: [EMAIL PROTECTED]
Number: 166
Version: 3
Stat
11 matches
Mail list logo