title: Why does lsort remove '\' from the list elements?
body: <p>lsort removes '\' from the list elements</p>
  
  <pre><code>set a [regsub -all {\d+} [list temp25 temp36] {\d+}]
  puts $a
  &gt;&gt;temp\d+ temp\d+
  puts [lsort -u $a]
  &gt;&gt;tempd+
  </code></pre>
  
  <p>I know the workaround to get desire result. <strong>This question is more about asking whether this behavior is expected?</strong> According to my understanding, <strong>lsort</strong> should not change the elements at any cost.</p>