View Single Post
Old 09-30-2020, 02:45 PM   #6
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by DiapDealer View Post
That's a regex lookbehind.
He's just escaping the the angle brackets with the backslash--though there's no real reason to since they aren't regex metacharacters to begin with.

How does your regex deal with more than one word between the h tags?
Duh, I missed that. I always do sentence case, never title case unless it's a proper name of someone/something.

Even though I was born and raised in the US I was taught that sentence case is better. E.g., see https://atmosol.com/resource-post/he...sentence-case/. Ease of regex construction for it is now another argument in its favor.

Last edited by hobnail; 09-30-2020 at 03:04 PM.
hobnail is offline   Reply With Quote