Quote:
Originally Posted by theducks
Very puzzled 
Square brackets have meaning that should not be needed since there is only digits. FWIW p[0-9]+ should also be valid
I have used this for YEARS to clean onmouseovers
|
I understand, but i can't explain why. When your suggestion didn't work, I asked my daughter, who's using Python at work, and she suggested to use the square brackets. Suddenly everything worked. I use the latest version of calibre.