I've successfully used this for a long time so I am confused why this is happening. When I search for ] using UltraEdit RegEx it will find two characters. A closing bracket, and whichever character immediately precedes it. I'm not sure why this is happening all of a sudden. I've tried restarting UltraEdit and my PC and looked through the program settings, but nothing changed. Any ideas?
To find ] as literal character with an UltraEdit regular expression search string, you need to escape it. So the search string should be ^]
You don't need a character set definition using [...] if you just want to find a single character. A character set definition should be used only if at least 2 characters are part of the set.
] is an invalid expression as character set is empty and therefore the find behavior is undefined. Correct would be [^]], but the square brackets around ^] are not needed at all.