title: Logical 'or' in Lua patterns?
body: <p>Is it possible to achieve in Lua?</p>
  
  <pre><code>local noSlashEnding = string.gsub("slash\\ending\\string\\", "\\|/$", "")
  -- noSlashEnding should contain "slash\\ending\\string"
  
  local noSlashEnding2 = string.gsub("slash/ending/string/", "\\|/$", "")
  -- noSlashEnding2 should contain "slash/ending/string"
  </code></pre>
  
  <p>The point here is the no acceptance of logical 'or' statements in Lua patterns.</p>
  
  <p><br/>
  EDIT:
  Just realized that is possible by doing this:</p>
  
  <pre><code>strng.gsub("slash\\ending\\string\\", "[\\/]$", "")
  </code></pre>
  
  <p>Although logical 'or' for patterns is still missing.</p>