title: how to solve Parsing expression Lexer error yq
body: <p>I am using <code>yq</code> for YAML processor. I got this error:</p>
  <p>Error: Parsing expression: Lexer error: could not match text starting at 1:8 failing at 1:10. unmatched text: &quot;to&quot;</p>
  <p>Following is the code:</p>
  <pre><code> function query() {
    cat &quot;$SOURCE&quot; | yq eval &quot;$@&quot; -
   }
  
   function get_env_for_url() {
    local URL=&quot;$1&quot;
  
    local ENV_URL=$(query &quot;.env | to_entries | .[] | select( .value.url == \&quot;$URL\&quot;) | .key&quot;)
  
    echo $ENV_URL
  }
  </code></pre>
  <p>sample YAML file:</p>
  <pre><code>env:
    app:
      url: abc.com
    dev:
      url: dev.com
    data:
      url: data.com
  </code></pre>
  <p>How to solve Parsing expression: Lexer error?</p>