I have this regular expression:
(?i)((\w+\s+)(?=\s*IN\s+|\s*IN\s+OUT\s+|(?<!IN\s)(?=\s*OUT\s+)))
That find every string followed by 'in', 'in out' and 'out'. In this exemple:
function myNestedProc(param1 in varchar2,
param2 out number)
return varchar2
is
begin
return param1||'_TEST';
end;
I highlight param1 in varchar2 and param2 out number, but no *return param1||'_TEST'*. How can I capture all words equal to those captured by regular expression?