Return to Snippet

Revision: 7082
at July 5, 2008 00:37 by mikegreen


Initial Code
Regexp.new(/\/\/.*$/)

Initial URL

                                

Initial Description
Matches single line Javascript (and PHP, etc.) comments

Initial Title
Match Single-line Javascript Comments

Initial Tags
regex, javascript, ruby

Initial Language
Ruby