Snippets has posted 5883 posts at DZone. View Full User Profile
snippet to surround a tag with â€œsmart quotesâ€ if it contains any odd characters. i.e. to display tags entered in a flickr-like style (space separated except inside quotes)
tag.gsub(/^/,'“').gsub(/$/,'”') if tag.match(/[^A-Za-z0-9\-_.]/)
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...