Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #10346

Re: JavaScript Regex

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 <reply1203@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: JavaScript Regex
Date Tue, 17 Jan 2012 20:01:36 +0000
Organization Home
Lines 52
Message-ID <feDIOqHgOdFPFw8W@invalid.uk.co.demon.merlyn.invalid> (permalink)
References <8kosg7tha6n6epo47krtaulm9a269kvclo@4ax.com> <Vcoq+cHIJfEPFw0l@invalid.uk.co.demon.merlyn.invalid> <c4c7h7t2qghi49i0esm44sl00ki2cq27q9@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 (<h47ExRUkcs8NDA9ubu0bCn8oOW>)
X-Notice Filtered by postfilter v. 0.8.2
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:10346

Show key headers only | View raw


In comp.lang.javascript message <c4c7h7t2qghi49i0esm44sl00ki2cq27q9@4ax.
com>, Sun, 15 Jan 2012 21:10:03, Gene Wirchenko <genew@ocis.net> posted:

>On Sat, 14 Jan 2012 21:23:20 +0000, Dr J R Stockton
><reply1202@merlyn.demon.co.uk> wrote:
>
>>In comp.lang.javascript message <8kosg7tha6n6epo47krtaulm9a269kvclo@4ax.
>>com>, Wed, 11 Jan 2012 20:51:26, Gene Wirchenko <genew@ocis.net> 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.
>>
>><http://www.merlyn.demon.co.uk/js-valid.htm> 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  <http://www.merlyn.demon.co.uk/> - 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.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

JavaScript Regex Gene Wirchenko <genew@ocis.net> - 2012-01-11 20:51 -0800
  Re: JavaScript Regex Ross McKay <au.org.zeta.at.rosko@invalid.invalid> - 2012-01-12 17:07 +1100
    Re: JavaScript Regex Gene Wirchenko <genew@ocis.net> - 2012-01-12 12:13 -0800
      Re: JavaScript Regex "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-12 20:48 +0000
        Re: JavaScript Regex Dr J R Stockton <reply1202@merlyn.demon.co.uk> - 2012-01-14 20:41 +0000
          Re: JavaScript Regex "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-15 20:08 +0000
            Re: JavaScript Regex Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-16 21:55 +0000
  Re: JavaScript Regex Denis McMahon <denismfmcmahon@gmail.com> - 2012-01-12 15:05 +0000
    Re: JavaScript Regex Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-01-12 16:42 +0100
      Re: JavaScript Regex "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-12 16:09 +0000
    Re: JavaScript Regex "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-12 15:56 +0000
      Re: JavaScript Regex Dr J R Stockton <reply1202@merlyn.demon.co.uk> - 2012-01-14 20:44 +0000
      Re: JavaScript Regex Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-19 19:59 +0000
        Re: JavaScript Regex "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-20 09:19 +0000
          Re: JavaScript Regex Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-21 20:27 +0000
  Re: JavaScript Regex Dr J R Stockton <reply1202@merlyn.demon.co.uk> - 2012-01-14 21:23 +0000
    Re: JavaScript Regex Gene Wirchenko <genew@ocis.net> - 2012-01-15 21:10 -0800
      Re: JavaScript Regex Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-17 20:01 +0000
        Re: JavaScript Regex Scott Sauyet <scott.sauyet@gmail.com> - 2012-01-18 05:42 -0800
          Re: JavaScript Regex Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-19 20:11 +0000

csiph-web