Regular expression when arabic Alphabet is included Python?
<p>I have a list of ids which are like:</p>

<pre><code>A5ukur+de2.008x١٥١١٠٦١١٥٠٥٢٤٦٢
</code></pre>

<p>and I have written the following commands that is using the group name,</p>

<pre><code>&gt;&gt;&gt; RE_SID = re.compile(ur'(?P&lt;sid&gt;(?&lt;=sid:)([A-Za-z0-9+.\u0627-\u064a]+))',re.UNICODE)
&gt;&gt;&gt; x = RE_SID.search('sid:A5ukur+de2.008x١٥١١٠٦١١٥٠٥٢٤٦٢"&gt;&gt;')
&gt;&gt;&gt; x.group('sid')
'A5ukur+de2.008x'
</code></pre>

<p>However this is not working when Persian/Arabic alphabet is combining with the latin characters and this is returning me only <code>A5ukur+de2.008x</code>.</p>

<p>I will be appreciated for any help.</p>