title: Flex, how to process HTML file
body: <p>I am using libcurl and flex to download images from an webpage.</p>
  
  <p>I already have the libcurl easy functions set to download any HTML file from a given url and I also have the regular expression but now I don't know how to process the downloaded HTML file. </p>
  
  <p>example:
  I have the file "fp" downloaded and saved in a specific location and now I need to pass the fp to the regular expressions to process but the structure of my file is:</p>
  
  <pre><code>    %{ 
  #include &lt;...&gt;
  ...
  %}
  
  %% 
  /* Regular expressions */
  
  %%
  int main () {
  ... //c code with file fp downloaded and saved
  }
  </code></pre>
  
  <p>So, how do I "send" the fp file to the regular expression to process ?</p>
  
  <p>Any suggestions ?
  Thanks.</p>