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
In reply to Re^3: Escaping Regex Expressions
by tachyon
in thread Escaping Regex Expressions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |