Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For extracting out hidden form fields, I used a simpler regular expression than the one in the article: <br/>
id="__PREVIOUSPAGE"\s*value="(.*?)"<br/>
(

Note the '?' used to specify non-greedy regular-expression matching. I'm reluctant to replace the one in the main article, unless I know the reason for it). Note the '?' used to specify non-greedy regular-expression matching.

For pages that had 'jammed-in' pipe-delimited data, I use this type of regular expression instead: <br/>
|__PREVIOUSPAGE|(.*?)|<br/>