LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 25 Feb 2000 01:17:44 -0500
Reply-To:     MCPalmer <mcpalmer@zbi.net>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         MCPalmer <mcpalmer@ZBI.NET>
Organization: Zurich Biostatistics, Inc.
Subject:      Re: RXPARSE question
Comments: cc: "Primak, Philip" <Philip.Primak@GENZYME.COM>
Content-Type: text/plain; charset="iso-8859-1"

Philip,

$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.

Michael Palmer Zurich Biostatistics, Inc. www.zbi.net

> Question for those who are familiar with new (V7+) functions RXPARSE and > RXMATCH. > 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 blanks. > The pattern I tried RXPARSE(:.t@0) dose not handle trailing blanks. Any help > is greatly appreciated. > > Regards, > Philip Primak > Genzyme Corp. >


Back to: Top of message | Previous page | Main SAS-L page