Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This patch reproduce the same behavior of the regexp_* function with #147

Merged
merged 1 commit into from
Oct 29, 2021
Merged

This patch reproduce the same behavior of the regexp_* function with #147

merged 1 commit into from
Oct 29, 2021

Conversation

darold
Copy link
Contributor

@darold darold commented Oct 29, 2021

null input.

Actually all NULL inputs in the regexp_* functions must returned NULL
except for the modifier regexp flag. There is an exception with function
regexp_replace(), if the pattern is null (second parameter) the original
string is returned provided that there is no other null parameter except
for the modifier.

The patch fix also function oracle.regexp_substr() that was failing to
return the right capture group when asked.

null input.

Actually all NULL inputs in the regexp_* functions must returned NULL
except for the modifier regexp flag. There is an exception with function
regexp_replace(), if the pattern is null (second parameter) the original
string is returned provided that there is no other null parameter except
for the modifier.

The patch fix also function oracle.regexp_substr() that was failing to
return the right capture group when asked.
@okbob okbob merged commit 2428f6a into orafce:master Oct 29, 2021
@okbob
Copy link
Contributor

okbob commented Oct 29, 2021

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants