Return to Snippet

Revision: 7081
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\/\*.*?\*\//)

# Match single and multi-line comments\/\*.*?\*\//m)

Revision: 7080
at July 5, 2008 00:34 by mikegreen

Updated Code\/\*.*?\*\//)

Revision: 7079
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