", which it never correctly matches." /> ", which it never correctly matches." /> ", which it never correctly matches."/>

Wordpress Search Regex plugin not matching greater than symbol

22 Views Asked by At

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.

1

There are 1 best solutions below

0
Choylton B. Higginbottom On

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.