Date: Fri, 25 Feb 2000 01:17:44 -0500
Reply-To: MCPalmer <firstname.lastname@example.org>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: MCPalmer <mcpalmer@ZBI.NET>
Organization: Zurich Biostatistics, Inc.
Subject: Re: RXPARSE question
Content-Type: text/plain; charset="iso-8859-1"
$W or $w is the character class for white space such as a blank, tab,
backspace, or carriage return. I would start developing the pattern
expression with (".t($W)*"). This will look for strings that end with or
without trailing white space. If you want just blanks and not white space,
try (".t($' ')*"). I've found pattern expressions that did just what I
wanted to be tricky to specify. Some trial and error with real-life test
data has often been helpful.
Zurich Biostatistics, Inc.
> Question for those who are familiar with new (V7+) functions RXPARSE and
> I need to create pattern using RXPARSE function, which would match *.t -
> which means any string, but must end on .t with or without trailing
> The pattern I tried RXPARSE(:.t@0) dose not handle trailing blanks. Any
> is greatly appreciated.
> Philip Primak
> Genzyme Corp.