c - Flex, how to process HTML file -


i using libcurl , flex download images webpage.

i have libcurl easy functions set download html file given url , have regular expression don't know how process downloaded html file.

example: have file "fp" downloaded , saved in specific location , need pass fp regular expressions process structure of file is:

    %{  #include <...> ... %}  %%  /* regular expressions */  %% int main () { ... //c code file fp downloaded , saved } 

so, how "send" fp file regular expression process ?

any suggestions ? thanks.

after reading comment user58697 start reading yyin , discovered after having file opened in c can delegate yyin doing:

fp = yyin

assuming file called fp.

once that, file processed in regular expressions.

i found solution in 2nd example of this page.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -