Quote:
Originally Posted by Tex2002ans
|
Cheers, that'll help significantly. Luckily, the few things I'm crafting are small enough, and I'm doing them slow enough, that there isn't much "spaghettification" of the code, or the whole <span>ception of nested <span>s thing that I've seen when I peeked inside a couple of my purchased or calibre-converted books.
Quote:
You see the parentheses you wrapped around your stuff? That's called a "Capture Group".
|
Yup! Note my edit above where I learned about Capture Groups and backreferences and...

However, I like your explanation better.

Much more user friendly.
Quote:
Side Note #2: If you want some more Regex tricks, I just wrote a post a few months ago here:
which linked to some of my other posts over the years. I break down + color-coordinate many of the ones I use.
|
bookmarked!
Quote:
And I don't know if you caught this topic:
where I explained differences between <i> + <em> even further.
|
Oh, I did. *twitch*

I'm sure I was mumbling about em's and i's and strong's and b's (oh my!) in my sleep to the annoyance of my cats