Hi all.
I'm using the match function to match a string that doesn't contain lowercase letters, but I'm getting an error with the following code example
if match("abc", "^.*[^a-z]+.*$") then
messagebox("", "match")
end if
I checked the documentation Match to confirm that the pattern can be written this way, but why is the result wrong?
I'm using PB2019R3.
Yes, I also felt that the match function implementation might be a bit problematic, I tested the pattern in another language and the results were as expected.
To match symbols other than alphanumeric I now have the pattern ". *[! @#%&()...] . *", which lists all the symbols
https://community.appeon.com/index.php/codeexchange/powerbuilder/329-regular-expression-object#459