|
On Sun, 18 Jan 2009 11:06:01 -0500, Ken Borowiak <EvilPettingZoo97@AOL.COM>
wrote:
> string2=prxchange( 's/\(G\)\s*$//o', -1, string ) ;
Does the SAS system's implementation use the /o option?
"The modified version of Perl regular expressions does not support
-Perl variables.
-the regular expression options /c, /g, and /o and the /e option with
substitutions."
In my opinion, every SAS programmer would do well to learn at least the
basics of regular expressions. If I am not incorrect, they have been
around about the same amount of time as the SAS language. Regardless, they
are quite a flexible and powerful too.
Kevin
|