title: To ignore linenumber's selection in Less inside Screen
body: <p>I would like to develop a selection-tool for Screen which ignores the leading spaces and numbers in selection.</p>
  
  <p><strong>Problems</strong></p>
  
  <ol>
  <li><strong>What is the code which affects selection-tool <code>C-a Esc</code> in Screen?</strong></li>
  <li>To make an algorithm which ignores the linenumbers and the space at the beginning from the selection:</li>
  </ol>
  
  <p><a href="http://files.getdropbox.com/u/175564/%20selection-less.png" rel="nofollow noreferrer">alt text http://files.getdropbox.com/u/175564/%20selection-less.png</a></p>
  
  <p>The following Perl-regex seems to match the beginning of the line</p>
  
  <pre><code> {5}[1-9]{1-4} {8}         # not tested
  </code></pre>
  
  <p>The selection tool apparently works by concatenating an increase in selection to the current selection. For instance, one line is selected. I select another one: a new line is added to the selection queue. The reverse is true also for a decrease in selection.</p>
  
  <p>I want to put the Perl regex on when the selection obverses <code>\n</code> such that the ignorance of the line is considered.</p>