I try to find everything that happens in a particular method, but only with the specified number of arguments (5):
so let's say I have different methods with the same name and with different sets of arguments.
.method(asd,asd,asd,asd,asd,asd,asd) .method(asd,asd,asd,asd,asd) .method(asd,asd,asd)
I tried something like this: \.open\((?:.*?\,){4}[^,]*?\)
, But it returns all methods with 5 or more arguments:
.method(asd,asd,asd,asd,asd,asd,asd) .method(asd,asd,asd,asd,asd)
I only need those who have 4. Thanks in advance!
source share