shivbhatia10 opened a new issue, #18778: URL: https://github.com/apache/datafusion/issues/18778
### Is your feature request related to a problem or challenge? [fancy-regex](https://github.com/fancy-regex/fancy-regex) is a crate that aims to be a drop in replacement for the standard library [regex](https://github.com/rust-lang/regex) crate, while supporting advanced features like backtracking and look-around. It aims to delegate to the standard library implementation efficiently in cases where the advanced features are not needed. ### Describe the solution you'd like It would be great if we could optionally use this library in DataFusion's built in regex UDFs. ### Describe alternatives you've considered - Having two sets of UDFs for each regexp UDF, something like `RegexpReplaceFunc` and `RegexpReplaceFancyFunc` for example. - Adding a boolean field to these UDFs like `is_fancy` - Using a compiler feature flag to turn these on across all UDFs I think the second option is probably the easiest and least intrusive. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
