Re: calling all JavaScript masters
by "Greg Rundlett" <greg(at)freephile.com>
|
Date: |
Mon, 7 Aug 2000 18:59:55 -0400 |
To: |
<hwg-languages(at)hwg.org> |
References: |
concentric |
|
todo: View
Thread,
Original
|
|
OK, so i figured out the problem myself
It turned out to be the 'isSignedInteger' function (which is called by many
of the other functions), and also the isSignedFloat function. Looking at
the Regular Expressions set up for each of these functions, the intent was
to specify an optional leading sign +|-. However, the plus character is a
special character in regular expression syntax. Therefore, it needs to be
escaped with a backslash so it looks like this \+|-
Now that it's fixed, the js file, along with the testsuite, and a reference
implementation (work in progress) are up on freephile.com.
(http://freephile.com/library/js/index.shtml)
I will send along the info to Netscape so that they might also correct their
website. : )
-Greg
greg(at)freephile.com
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA