I am using the Search Regex plugin for Wordpress. I have it matching all of my regex except for the literal ">", which it never correctly matches.
Asked
Active
Viewed 20 times
1 Answers
0
The answer was to use the HTML special character, >
in my pattern, rather than an actual >
. Every time I submitted the search, >
was replaced by >
, so I had to keep changing it back to the escaped version. I assume this could be true for any character represented in HTML by a special character.

Choylton B. Higginbottom
- 2,236
- 3
- 24
- 34