Revision: 7081
Updated Code
at July 5, 2008 21:11 by mikegreen
Updated Code
# This is how it would look using the Ruby Regexp class # Only match one-line comments Regexp.new(/\/\*.*?\*\//) # Match single and multi-line comments Regexp.new(/\/\*.*?\*\//m)
Revision: 7079
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 5, 2008 00:32 by mikegreen
Initial Code
/\/\*.*?\*\//
Initial URL
Initial Description
Matches CSS-style comments spanning one or multiple lines
Initial Title
Match CSS and JS Comments
Initial Tags
regex, css, javascript, ruby
Initial Language
Regular Expression