/ Published in: Ruby
Matches single line Javascript (and PHP, etc.) comments
Expand |
Embed | Plain Text
Regexp.new(/\/\/.*$/)
You need to login to post a comment.
mikegreen on 07/05/08
1 person have marked this snippet as a favorite
Matches single line Javascript (and PHP, etc.) comments
Regexp.new(/\/\/.*$/)
You need to login to post a comment.