View Single Post
Old 01-29-2020, 06:48 PM   #10
Brett Merkey
Not Quite Dead
Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.Brett Merkey ought to be getting tired of karma fortunes by now.
 
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
Quote:
That is slick!
It is, kind of. When I set out to make that expression a couple of years ago, I figured it was impossible (for me) but I wanted to give it a try. I was surprised at how quickly it came together.

Quote:
can you again regroup the ones which are identical?
I never bothered to work the other end because usually most of the stacked rules get swept to the great Bitbucket in the Sky. The only likely path to developing such a regex that I can think of is to have a regex that works on marked text only, within the CSS file. That is, a person wishing to "re-stack" identical rules would have to manually select the identical rules first. This really would not save much labor over doing the restacking manually, so I didn't bother to go into it.

Last edited by Brett Merkey; 01-29-2020 at 06:52 PM.
Brett Merkey is offline   Reply With Quote