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 abovein the article:
id="__PREVIOUSPAGE"\s*value="(.*?)".
(I'm reluctant to replace it though 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:
|__PREVIOUSPAGE|(.*?)|