<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - inko9nito</title>
<link>http://snipplr.com/users/inko9nito/tags/ruby</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 07:19:48 GMT</pubDate>
<item>
<title>(Regular Expression) Match text between asterisks</title>
<link>http://snipplr.com/view/46419/match-text-between-asterisks/</link>
<description><![CDATA[ <p>Matches text between each pair of asterisks (see URL above for demo) 


  
  
**Example:**

Make text between asterisks bold, like in Textile (in Ruby):

`test.gsub(/(\*)+([^.*?$]+)+(\*)/, '\\2')`</p> ]]></description>
<pubDate>Mon, 03 Jan 2011 12:47:36 GMT</pubDate>
<guid>http://snipplr.com/view/46419/match-text-between-asterisks/</guid>
</item>
</channel>
</rss>