Dear all,
could anyone advice me how Oracle evaluate the following query:
SQL> select regexp_substr('Baba black','b[a-z]+ [a-z]+',1,1,'x') from dual;
REGEX
-----
black
I thought it would return 'ba', but instead it returns 'black'. How come 'ba' in the first word isn't detected by the pattern?
Best regards,
Val