Ruby regular expressions

From EggeWiki
Revision as of 21:53, 28 June 2009 by Egge (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>