develooper Front page | perl.perl6.internals | Postings from December 2001

Re: Moving string -> number conversions to string libs

Thread Previous | Thread Next
From:
Tom Hughes
Date:
December 6, 2001 11:15
Subject:
Re: Moving string -> number conversions to string libs
Message ID:
b894bde44a.tom@compton.compton.nu
In message <qo1v0usl0bvc5ban7vjbphatk130fv7lgi@4ax.com>
          Bart Lateur <bart.lateur@pandora.be> wrote:

> On Thu, 06 Dec 2001 00:16:34 GMT, Tom Hughes wrote:
> 
> >So far I have added as is_digit() call to the character type layer
> >to replace the existing isdigit() calls.
> 
> There seems to be an overlap with the /\d/ character class in regexes.
> Can't you use the same test? Can't you use the definition of that
> character class, whatever form it may be in?

Well presumably the regex code should use the character type of
the string it is matching against when processing \d. There isn't
any regex code in yet though is there?

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About