If you ever tried to use Perl regular expressions to search for an item in UE, you might have noticed that even
if your regular expression specifically searches using case-sensitive tokens, the results may match words that
do not match on the case-sensitivity.
For example:
If you search for " [A-Z]+\d+ " you would normally expect that you will find words that contain all uppercase letters
followed by at least one digit - like: HOME2, ABD445, etc...
Unfortunately UE interpretation of that regular expression is not compliant with Perl rules, and the search can match
words like: home2, hOMe3, ad77, as well as HOME2, ABD445, etc...
The only way to force any regular expression test in UE to adhere to true REGEX standards is to check the "Match Case" option.
To me this behaviour contradicts what everybody else understands as "Perl regular expressions" but unfortunately UE team
does not want to change this since according to email I got from them: "the thinking was that these two options would conflict with each other".
By the two options they mean the MatchCase option and the true Regex syntax.
The same case-sensitive problem also affects all other places in UE where Perl regular expressions can be used,
for example if Perl regexs are used in wordfiles, they too will ignore the case-sensitivity, and that cannot be explained
by any possible conflict with "MatchCase" option since it does not exist for wordfiles.
Since this has been a decision made by UE team, they will not change it unless enough people will complain.
Personally I believe that since regular expressions are an advanced feature, they should not contain "shortcuts"
to make sure that novices will not get stung.
Please write a letter to UE if you agree with me on this subject.
if your regular expression specifically searches using case-sensitive tokens, the results may match words that
do not match on the case-sensitivity.
For example:
If you search for " [A-Z]+\d+ " you would normally expect that you will find words that contain all uppercase letters
followed by at least one digit - like: HOME2, ABD445, etc...
Unfortunately UE interpretation of that regular expression is not compliant with Perl rules, and the search can match
words like: home2, hOMe3, ad77, as well as HOME2, ABD445, etc...
The only way to force any regular expression test in UE to adhere to true REGEX standards is to check the "Match Case" option.
To me this behaviour contradicts what everybody else understands as "Perl regular expressions" but unfortunately UE team
does not want to change this since according to email I got from them: "the thinking was that these two options would conflict with each other".
By the two options they mean the MatchCase option and the true Regex syntax.
The same case-sensitive problem also affects all other places in UE where Perl regular expressions can be used,
for example if Perl regexs are used in wordfiles, they too will ignore the case-sensitivity, and that cannot be explained
by any possible conflict with "MatchCase" option since it does not exist for wordfiles.
Since this has been a decision made by UE team, they will not change it unless enough people will complain.
Personally I believe that since regular expressions are an advanced feature, they should not contain "shortcuts"
to make sure that novices will not get stung.
Please write a letter to UE if you agree with me on this subject.