Jump to content

Ruby regular expressions: Difference between revisions

From EggeWiki
m Created page with 'Comments are one of the great, yet little used, features of modern regular expression engines. Consider the following: <geshi lang="ruby"> "Ruby is fun" =~ /(?#a)r(?#e you able…'
 
(No difference)

Latest revision as of 01:53, 29 June 2009

Comments are one of the great, yet little used, features of modern regular expression engines. Consider the following:

<geshi lang="ruby"> "Ruby is fun" =~ /(?#a)r(?#e you able to )u(?#nderstand what this )b(?#eautiful, yet sill)y(?# regular expression will match?)/i </geshi>