jit.str.regexp on atom tags


    Feb 03 2010 | 5:13 pm
    hey, i am trying to extract phrases, words etc. sitting within atom feed tags. It seems that I can successfully get only one line at a time, not all matching lines. Let's say there is text "abcd" within and other text "bla bla" within other tags so I need jit.str.regexp to output them something like "abcd" "bla bla" not as the match "bla bla" only [jit.str.regexp @re (.*?)]... I am totally new with regexp so my problem may even look funny :>

    • Feb 03 2010 | 10:20 pm
      The [jit.str.tosymbol] is sending out all the contents of the tags from the downloaded page, it's just sending them out one by one as opposed to in a list. Hook a [print] up to the outlet to see. If you want to format them into a list then [zl group] is the way forwards.
      lh