Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin3!goblin.stu.neva.ru!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: Dr J R Stockton Newsgroups: comp.lang.javascript Subject: Re: JavaScript Regex Date: Tue, 17 Jan 2012 20:01:36 +0000 Organization: Home Lines: 52 Message-ID: References: <8kosg7tha6n6epo47krtaulm9a269kvclo@4ax.com> NNTP-Posting-Host: JfH6RRPWQh8XzArFI0xgxA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii X-Complaints-To: abuse@aioe.org User-Agent: Turnpike/6.05-S () X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:10346 In comp.lang.javascript message , Sun, 15 Jan 2012 21:10:03, Gene Wirchenko posted: >On Sat, 14 Jan 2012 21:23:20 +0000, Dr J R Stockton > wrote: > >>In comp.lang.javascript message <8kosg7tha6n6epo47krtaulm9a269kvclo@4ax. >>com>, Wed, 11 Jan 2012 20:51:26, Gene Wirchenko posted: >> >>> >>> I have not found quite the detail that I need for regexes. If >>>you have a URL to a good site, please post it. >> >> lists some that I have >>found. >> >> >>> I wish to parse a string to see if it is a valid fixed-decimal >>>value. >> >>Cannot actually be done. "2012" may in truth be 2^8+1, to base 5. > > How fatuous and condescending! I am checking whether a string is >valid fixed-decimal value. No, you are checking whether it can be interpreted as a valid integer or fixed-point decimal value. One cannot tell what a string IS by mere inspection of the string. > Whether it can also be interpreted as >something else is irrelevant. > > The rest of your post is similar. I *have* considered what I >require. What I asked about is but a small part of it. (I do believe >in doing my own work as much as I can.) Doing your own work where reasonable is good. But regurgitating all the old and well-known follies here is not good. We on the whole, or I at least, would prefer you to take advantage of what is already well-known and sufficiently published in the field, and then to present new and therefore interesting problems, so encouraging the advancement of learning in general. Remember what Newton said about the shoulders of giants. And note that he probably did not invent that saying, but more likely got it indirectly from Bernard of Chartres. -- (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME. Web - FAQqish topics, acronyms and links; Astro stuff via astron-1.htm, gravity0.htm ; quotings.htm, pascal.htm, etc. No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.