You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2022/03/08 09:25:00 UTC

[jira] [Commented] (ARROW-15819) [R] R docs version switcher doesn't work on Safari on MacOS

    [ https://issues.apache.org/jira/browse/ARROW-15819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502817#comment-17502817 ] 

Nicola Crane commented on ARROW-15819:
--------------------------------------

This issue is caused by the $pathEnd variable using a positive lookbehind regular expression, which is not supported on Safari.

To break down the regex in question...
{{"(?<=\/r).*"}}
{{ ?<=}} - this is a positive lookbehind - basically we want to look for something without including it in our returned result
{{\/r}} - the thing we want the lookbehind to look for
{{.*}}  - any character except for line breaks 0 or more times - in other words, everything after "/r"

Fixing this might be as simple as using {{\/r.*}} instead and then subsequently chopping the {{\/r}} off of the end.


> [R] R docs version switcher doesn't work on Safari on MacOS
> -----------------------------------------------------------
>
>                 Key: ARROW-15819
>                 URL: https://issues.apache.org/jira/browse/ARROW-15819
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Nicola Crane
>            Priority: Major
>             Fix For: 8.0.0
>
>
> Reported as missing on Safari on MacOS by both Ian and Neal



--
This message was sent by Atlassian Jira
(v8.20.1#820001)