Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > How would you design regexps in the integer domain?

Reply
Thread Tools

How would you design regexps in the integer domain?

 
 
ara.t.howard
Guest
Posts: n/a
 
      05-05-2008

On May 5, 2008, at 11:05 AM, Une B=E9vue wrote:
> which suppose their is a norm somewhere, ie. something able to measure
> what is worst what is best...


i don't think the implication is an absolute one. whether relative or =20=

absolute i think it would be rare the to find a being that did not =20
know this about themselves at some, possibly deeply hidden, level.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being =20
better. simply reflect on that.
h.h. the 14th dalai lama




 
Reply With Quote
 
 
 
 
Joel VanderWerf
Guest
Posts: n/a
 
      05-06-2008
ara.t.howard wrote:
> match = pattern.match( select{|i| Fixnum === i}.join(N) )

match = pattern.match( grep(Fixnum).join(N) )

is a nice alternative.

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

 
Reply With Quote
 
 
 
 
ara.t.howard
Guest
Posts: n/a
 
      05-06-2008

On May 5, 2008, at 10:13 PM, Joel VanderWerf wrote:
> is a nice alternative.


it sure is! never considered using a trequals object with grep -
makes perfect sense too!

cheers.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being
better. simply reflect on that.
h.h. the 14th dalai lama




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
an oddball scary kind of thing you would think would never happen richard Computer Support 4 01-31-2010 06:34 PM
How would you design scalable solution? Bryan Python 2 10-28-2009 06:20 AM
Web Design: Would you design a PDF by writing Postscript in Notepad? fgdg HTML 236 02-21-2007 09:35 PM
How Would You Design This Application? John Java 5 02-28-2006 09:49 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57