[
https://issues.apache.org/jira/browse/ARROW-11513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314053#comment-17314053
]
Ian Cook commented on ARROW-11513:
----------------------------------
- For {{ignore.case = TRUE && fixed == FALSE}}, the re2 syntax is
{{paste0("(?i)", pattern)}}
- We can support the {{ignore.case = TRUE && fixed == TRUE}} case by converting
the input and pattern both to lowercase or both to uppercase
- I don't think it's worth handling {{useBytes}} or {{perl}}. I believe the
only practical result of handling those arguments would be to detect conditions
that R doesn't support when they are {{FALSE}} and throw various errors when
they're set to {{FALSE}}. Since they both default to {{FALSE}}, I suspect this
would be more annoying than valuable.
> [R] Bindings for sub/gsub
> -------------------------
>
> Key: ARROW-11513
> URL: https://issues.apache.org/jira/browse/ARROW-11513
> Project: Apache Arrow
> Issue Type: New Feature
> Components: R
> Reporter: Neal Richardson
> Assignee: Ian Cook
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)