K
Ken Kast
Here's my pattern:
pattern =
"\\b[A-Z]([A-Z0-9]|[-+_/&.](?=[A-Z0-9])|[(][A-Z0-9]([A-Z0-9]|[-+_/&.](?=[A-Z0-9]))*[)])+\\b";
With the string AB(CDE), it finds only AB(CDE. Why isn't the closing parens
found and why is it accepting the string without it?
Thanks.
Ken
pattern =
"\\b[A-Z]([A-Z0-9]|[-+_/&.](?=[A-Z0-9])|[(][A-Z0-9]([A-Z0-9]|[-+_/&.](?=[A-Z0-9]))*[)])+\\b";
With the string AB(CDE), it finds only AB(CDE. Why isn't the closing parens
found and why is it accepting the string without it?
Thanks.
Ken