<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: like code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 18 May 2008 02:56:32 GMT</pubDate>
    <description>DZone Snippets: like code</description>
    <item>
      <title>words-like - Returns a block of words in the object that match the given pattern.</title>
      <link>http://snippets.dzone.com/posts/show/2752</link>
      <description>&lt;code&gt;&lt;br /&gt;words-like: func [&lt;br /&gt;    "Returns a block of words in the object that match the given pattern."&lt;br /&gt;    object  [object!]&lt;br /&gt;    pattern [word! any-string!]&lt;br /&gt;    ;??? Add an /unbound refinement&lt;br /&gt;][&lt;br /&gt;    pattern: join form pattern "*"&lt;br /&gt;    collect w [&lt;br /&gt;        foreach word next first object [&lt;br /&gt;            if find/match/any form word pattern [w: bind word in object 'self]&lt;br /&gt;        ]&lt;br /&gt;    ]&lt;br /&gt;]&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sun, 01 Oct 2006 22:25:23 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2752</guid>
      <author>gregg.irwin (Gregg Irwin)</author>
    </item>
  </channel>
</rss>
