title: Lua script for scan with 'match' and 'count' constraints
body: <p>I am using <strong>Jedis</strong>. I need a <strong>Lua</strong> script to scan for a pattern with a specified limit. I don't know how to pass the parameters inside Lua script.
  Sample Code:</p>
  
  <pre><code>String script="return     {redis.call('SCAN',KEYS[1],'COUNT',KEYS[2],'MATCH',KEYS[3]}";
  List&lt;String&gt; response = (List&lt;String&gt;)jedis.eval(script,cursor,COUNT,pattern);
  </code></pre>
  
  <p>How do I pass these parameters to the script?</p>