<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>A blog by Osama Dwairi &#187; Ruby and Ruby On Rails</title>
	<atom:link href="http://dwairi.wordpress.com/category/ruby-and-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://dwairi.wordpress.com</link>
	<description>Thoughts and Ideas about Software Engineering and the rest</description>
	<lastBuildDate>Wed, 09 Sep 2009 08:04:34 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dwairi.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4d9f44aef83cafcaae06d96d55b9c945?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>A blog by Osama Dwairi &#187; Ruby and Ruby On Rails</title>
		<link>http://dwairi.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dwairi.wordpress.com/osd.xml" title="A blog by Osama Dwairi" />
		<item>
		<title>Phone Regexp</title>
		<link>http://dwairi.wordpress.com/2008/04/22/phone-regexp/</link>
		<comments>http://dwairi.wordpress.com/2008/04/22/phone-regexp/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 14:32:22 +0000</pubDate>
		<dc:creator>dwairi</dc:creator>
				<category><![CDATA[Ruby and Ruby On Rails]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://dwairi.wordpress.com/?p=27</guid>
		<description><![CDATA[I was working with struts validators and need to test a phone number to be digits and starts with a leading 00, I wanna share it here



^00+\d{9,17}$
below is a ruby code snippet:
phone_no=&#8221;009621111111&#8243;
if phone_no =~ /^00+\d{0,9}$/

 puts &#8220;match&#8221;

else
 puts &#8220;No match&#8221;
end



a quick explain is
^ start from the beginning of the string
+\d{9,17} should include digits with at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwairi.wordpress.com&blog=421552&post=27&subd=dwairi&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://dwairi.wordpress.com/2008/04/22/phone-regexp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">dwairi</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBeans 6.0 IDE First impression</title>
		<link>http://dwairi.wordpress.com/2007/12/04/netbeans-6-first-impression/</link>
		<comments>http://dwairi.wordpress.com/2007/12/04/netbeans-6-first-impression/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 10:56:22 +0000</pubDate>
		<dc:creator>dwairi</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Markup Languages]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ruby and Ruby On Rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[infoq]]></category>
		<category><![CDATA[]]></category>

		<guid isPermaLink="false">http://dwairi.wordpress.com/2007/12/04/netbeans-6-first-impression/</guid>
		<description><![CDATA[Today I installed Netbeans 6 and my first Impression is Wow! I will be posting in-depth look at netbeans-6.0 later.
but, what is new on netbeans-6.0?
Editor Improvements

Smarter code completion
Highlights
Better Navigation and Inspection
Live Templates and Surround Functionality

Ruby/JRuby/Ruby on Rails Support

Project support including Gems and RSpec
Advanced Ruby Editing
ActiveRecord Code Completion
Ruby Debugger
Ruby on Rails Support

Profiling

Profiler integrated into NetBeans IDE
Compare [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwairi.wordpress.com&blog=421552&post=16&subd=dwairi&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://dwairi.wordpress.com/2007/12/04/netbeans-6-first-impression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">dwairi</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby and Yaml</title>
		<link>http://dwairi.wordpress.com/2007/11/12/ruby-and-yaml/</link>
		<comments>http://dwairi.wordpress.com/2007/11/12/ruby-and-yaml/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 15:53:50 +0000</pubDate>
		<dc:creator>dwairi</dc:creator>
				<category><![CDATA[Ruby and Ruby On Rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[yaml]]></category>
		<category><![CDATA[yaml4r]]></category>

		<guid isPermaLink="false">http://dwairi.wordpress.com/2007/11/12/ruby-and-yaml/</guid>
		<description><![CDATA[Yaml (Yet Another markup language) allows developers to serialize and deserialize Object to files and still human readable and editable. in short!
I will explain how to load, save, update yaml file using ruby (Yaml4r). a sample source code can be found at the end of this article
As always: busy developer walk through:

 Installation

gem install RbYAML


Usage

Tip! [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwairi.wordpress.com&blog=421552&post=6&subd=dwairi&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://dwairi.wordpress.com/2007/11/12/ruby-and-yaml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">dwairi</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Ruby On Rails &#8211; howto</title>
		<link>http://dwairi.wordpress.com/2007/11/12/installing-ruby-on-rails-howto/</link>
		<comments>http://dwairi.wordpress.com/2007/11/12/installing-ruby-on-rails-howto/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 08:58:57 +0000</pubDate>
		<dc:creator>dwairi</dc:creator>
				<category><![CDATA[Ruby and Ruby On Rails]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://dwairi.wordpress.com/2007/11/12/installing-ruby-on-rails-howto/</guid>
		<description><![CDATA[This is a busy developer tutorial that walk through  installing ruby on rails on Linux Machine.
get Downloads ready

type yum install ruby rdoc irb
Rubygems from http://www.rubyonrails.com/down

unzip the package.


type ruby setup.rb


type gem update
type gem install rails &#8211;include-dependencies
choose your lovely database: we will be using mysql for this tutorial; so, that requires us to install mysql

type yum [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dwairi.wordpress.com&blog=421552&post=5&subd=dwairi&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://dwairi.wordpress.com/2007/11/12/installing-ruby-on-rails-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">dwairi</media:title>
		</media:content>
	</item>
	</channel>
</rss>