java - Regex for function calls like A(x=10,y=20,z=56); -
Can you tell me how to write reg-ex for the following types of function types?
one (x = 10, y = 20); B (x = 34); C (x = 20, y = 30, z = 40); There can be any upper case letter instead of a
, B
or c
and < Any lower case letter can be X
/ y
/ z
.
A and the formula: A (x = 10, y = 20, z = 67) Instead of XYZ, we can use any capital letter. -
"([az] \ ([az] = \ d + (?:, [Az] =) \ D +) * \); "+ ([AZ] # one uppercase letter \ (# a literal" ("[az] # a lowercase character = # a literal" = "\ d + # few points (?:, [Az ] = \ D +) * # Optional repeating groups \); # literal character sequence "" + # one or more / x
To complete this answer, I started writing it before closing, so now I have removed the answer.
There is nothing to see here.
Comments
Post a Comment