You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "shivbhatia10 (via GitHub)" <gi...@apache.org> on 2026/01/12 14:03:51 UTC

[I] Incorrect regex pattern in regex_replace_posix_groups [datafusion]

shivbhatia10 opened a new issue, #19766:
URL: https://github.com/apache/datafusion/issues/19766

   ### Describe the bug
   
   The `regex_replace_posix_groups` method should replace patterns like `\4` with `${4}` but it's using the pattern `(\\)(\d*)` instead of `(\\)(\d+)`.
   
   ### To Reproduce
   
   I added a test in the fix PR which replaces some pattern with "\\", currently this produces "${}" which is how I came across this bug.
   
   ### Expected behavior
   
   Should just replace the pattern with "\"
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Incorrect regex pattern in regex_replace_posix_groups [datafusion]

Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g closed issue #19766: Incorrect regex pattern in regex_replace_posix_groups
URL: https://github.com/apache/datafusion/issues/19766


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Incorrect regex pattern in regex_replace_posix_groups [datafusion]

Posted by "GaneshPatil7517 (via GitHub)" <gi...@apache.org>.
GaneshPatil7517 commented on issue #19766:
URL: https://github.com/apache/datafusion/issues/19766#issuecomment-3755609574

   hey @shivbhatia10 can you review this : https://github.com/apache/datafusion/pull/19827


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Incorrect regex pattern in regex_replace_posix_groups [datafusion]

Posted by "GaneshPatil7517 (via GitHub)" <gi...@apache.org>.
GaneshPatil7517 commented on issue #19766:
URL: https://github.com/apache/datafusion/issues/19766#issuecomment-3750799653

   take


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org