Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Rating Regex

Quote Reply
Rating Regex
Not really a big deal but the default Rating regex is:

^\d+\.?\d*$

I think it may be more accurate as:

^\d+(?:\.\d+)?$

Last edited by:

Paul: Aug 30, 2002, 4:23 AM
Quote Reply
Re: [Paul] Rating Regex In reply to
What's the difference (In dummy lingo)?
Quote Reply
Re: [Ian] Rating Regex In reply to
The first one would accept

67.

whereas the second wouldn't....

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Rating Regex In reply to
Hmmm, I can see that now. ThanksSmile