in reply to Re: Regexp conundrum
in thread Regexp conundrum
1. My aim (for today) is to read-in the HTML file on a filehandle, che +ck for the presence of the word and letter spacing attributes and pri +nt out a 'success, patterns are in the document' message.
2. Next is to remove the attributes with 'substitute', write the coore +ctions to the HTML source file, and open the browser to see if the it +s worked.
I want to see how I can change the HTML using regexps, from a dyslexic/poor-vision user's point-of-view. Word and letter spacing, Linearising hyperlinks and removing unnecessary emphasis of text (confusing for dyslexics - I should know, I'm one of them!) are some of the requirements I've identified. I've managed to extract image tags and re-write the changes, so I'm heading in the right direction. Question: I've not encountered the 'qr' modifiers before; what are they, and what do they do?3. I'm going to remove the attributes from the styles (in-line styles + at the moment), check the source file for the absence of them, and r +e-include them within the tags.
Thanks for your patience, brethren...
|
|---|