Skip to content
Back to formatted view

Raw Message

Message-ID: <C961D4DC-DA03-45FE-BC57-33A3646E1D43@dcn.davis.ca.us>
Date: 2021-07-08T05:46:55Z
From: Jeff Newmiller
Subject: problem for strsplit function
In-Reply-To: <537799.1625722603@apollo2.minshall.org>

I trust the escapes to do what they are designed to do. Cat the pattern to the console if you don't.

On July 7, 2021 10:36:43 PM PDT, Greg Minshall <minshall at umich.edu> wrote:
>> sub( "\\.[^.]*$", "", fname )
>
>fwiw, i almost always use '[.]' in preference to '\\\\\\\\.', as it
>seems to be more likely to get through the various levels of quoting in
>different contexts.

-- 
Sent from my phone. Please excuse my brevity.