str_replace_all mimics str_replace #362
Labels
bug
an unexpected problem or unintended behavior
func trans 🌍
Translation of individual functions to SQL
help wanted ❤️
we'd love your help!
The current implementation of
str_replace_all
which was introduced in PR #131 for postgres backends has no global parameter, thus replacing only the first occurence of any match in a string:File R/backend-postgres.R, line 58ff:
To my mind, the correct implementation would be
Also, the fix of str_detect has disappeared from master and it is not possible to grep for regular expressions on Postgres databases at the moment: Line 55 in beforementioned file quotes
instead of the line that was implemented Pull request #131:
Thanks for the great effort and package!
sandro
The text was updated successfully, but these errors were encountered: