Re: [R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Rolf Turner
On Sat, 16 Mar 2024 11:39:28 +1100 Hugh Parsonage wrote: > It would have been helpful for that person to specify their candidate > regex, rather than just saying it could be simpler. Actually they *did* specify; the problem was that my ageing senile memory could not recall the specification.

Re: [R-pkg-devel] Export everything whose name does not start with ".".

2024-03-15 Thread Hugh Parsonage
It would have been helpful for that person to specify their candidate regex, rather than just saying it could be simpler. That out of the way, I believe exportPattern("^[^.]") would be sufficient since the square brackets remove any special meaning the dot has. For an alternative, given the