Interesting Bit of Code

By: Johnathon Wright on: February 11, 2020

Whenever I see screen shots of code, I think that my code isn't interesting enough to create a visual. I do tend to write small bits that are simple-looking (to my eyes.) So when writing this bit, I thought I'd record it for posterity in case I wanted something in the future.

def looks_numeric?
  number = "-?\\s*\\d{0,}[\\.\\,]{0,2}(\\d{1,})?"
  numeric_value_pattern = /^\s*#{number}\s*$/
  numeric_range_pattern = /^\s*#{number}\s*-\s*#{number}\s*$/

  numeric_value_pattern =~ self ||
    numeric_range_pattern =~ self ||
      Inequality.pattern =~ self


yeezy boost 350 v2 said: I have to convey my love for your kind-heartedness in support of men who must have guidance on this important topic. Your personal dedication to getting the message along has been surprisingly beneficial and has continually enabled guys like me to get to their ambitions. Your amazing warm and friendly information signifies so much a person like me and additionally to my office colleagues. With thanks; from everyone of us. yeezy boost 350 v2 [url=]yeezy boost 350 v2[/url]

yeezy said: I simply desired to appreciate you again. I am not sure the things I would've used in the absence of the actual strategies provided by you on such a concern. It truly was a intimidating problem in my circumstances, however , being able to see a specialised technique you managed that took me to leap with gladness. I am just happy for this support and in addition hope that you are aware of a powerful job that you're providing training many people through the use of a site. Probably you haven't encountered all of us. yeezy

off white clothing said: Needed to compose you one very little note to help thank you very much over again for the breathtaking pointers you've discussed here. It has been simply strangely open-handed of people like you in giving without restraint just what a lot of folks could possibly have offered for an electronic book to generate some dough for themselves, primarily seeing that you could possibly have done it if you desired. Those tactics as well served like a great way to fully grasp that someone else have similar desire similar to my very own to know the truth way more with reference to this condition. I'm certain there are millions of more pleasurable sessions in the future for individuals who read your site. off white clothing

adidas yeezy said: I have to show my appreciation to this writer just for bailing me out of this type of dilemma. After browsing through the the web and coming across solutions which were not beneficial, I was thinking my life was done. Living without the strategies to the problems you have solved by way of your entire article content is a critical case, and the kind that might have badly damaged my entire career if I hadn't discovered your web page. Your personal training and kindness in dealing with all the things was vital. I am not sure what I would have done if I had not come across such a stuff like this. I can also at this moment relish my future. Thanks for your time very much for the impressive and sensible help. I will not think twice to recommend your web sites to any individual who ought to have care on this issue. adidas yeezy

ferragamo belt said: I have to show my gratitude for your kind-heartedness supporting those who really want help with that situation. Your real commitment to passing the message along was really important and have really permitted regular people like me to arrive at their targets. Your valuable tips and hints denotes a whole lot to me and additionally to my office colleagues. Warm regards; from everyone of us. ferragamo belt

jordan 4 said: I want to show appreciation to this writer just for rescuing me from such a matter. As a result of scouting through the search engines and meeting thoughts which were not powerful, I assumed my entire life was well over. Living without the presence of answers to the issues you have solved as a result of your good blog post is a critical case, and those which may have in a negative way affected my entire career if I hadn't noticed your web site. Your main know-how and kindness in dealing with all the stuff was helpful. I am not sure what I would have done if I hadn't encountered such a stuff like this. I'm able to at this moment relish my future. Thanks so much for this reliable and results-oriented help. I will not hesitate to endorse your web blog to anybody who desires recommendations on this area. jordan 4

supreme clothing said: Thanks so much for providing individuals with an extremely pleasant possiblity to read in detail from this web site. It's usually so good and as well , full of a lot of fun for me and my office acquaintances to search your web site really three times in 7 days to learn the newest stuff you have got. Not to mention, we are certainly contented with your fantastic advice you serve. Some two areas in this posting are in truth the most suitable we have ever had. supreme clothing