Using the pipe character to test for matching text patterns

The pipe character ( | ) is a metacharacter in the .NET environment, but not a metacharacter in the standard PowerBuilder client-server environment. When you call the Match function in the .NET environment, it functions as an OR operator and tests whether the characters to its right or left match the string you are evaluating. However, if the pipe character is in the first or last position of the text pattern argument, one of the text patterns evaluates to null and PowerBuilder then evaluates the match to true, even though there is no match between the pattern you are testing and the string you are evaluating. This is in contrast to the behavior of the Match function in the standard client-server environment. [CR 536639]