Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R] R docs version switcher doesn't work on Safari on MacOS #31260

Closed
asfimport opened this issue Mar 1, 2022 · 2 comments
Closed

[R] R docs version switcher doesn't work on Safari on MacOS #31260

asfimport opened this issue Mar 1, 2022 · 2 comments
Assignees
Milestone

Comments

@asfimport
Copy link

Reported as missing on Safari on MacOS by both Ian and Neal

Reporter: Nicola Crane / @thisisnic
Assignee: Nicola Crane / @thisisnic

PRs and other links:

Note: This issue was originally created as ARROW-15819. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Nicola Crane / @thisisnic:
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.

@asfimport
Copy link
Author

Nicola Crane / @thisisnic:
Issue resolved by pull request 12819
#12819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants