Convert python regex pattern to lua : <p>I have a pattern but I don't know how to convert to Lua pattern
here is my pattern:</p>

<pre><code>(?P&lt;Protocol&gt;https?:\/\/)?(?P&lt;Subdomain&gt;\w*\.)?(?P&lt;Domain&gt;(?:[a-z0-9\-]{1,})\.(?:[^\s\/\.]{2,}))(?P&lt;Path&gt;\/proxy)?(?P&lt;Params&gt;(?:\?|\#)[^\s\/\?\:]*)
</code></pre>

<p>anyone can help me to convert or convert it for me?</p>
