in reply to Re^2: Escaping Regex Expressions
in thread Escaping Regex Expressions

The print text line above is giving - Pageá1áofá3
and the regex wont match this despit the html being - Page 1 of 3

Does not compute. HTML of Page 1 of 3 looks like this:

Page 1 of 3

You probably have a locale issue. Evidently   is being transliterated to 'á'. To make it simple, if you are screen scraping for a given fixed expresssion why not just use a straight regex, sans toke parser?

Of course if you are into hack kludge solutions it will match /Pageá1áofá(\d+)/ and work as you desire. Failing that fix your locale issue.

cheers

tachyon