Re: [Rd] Regular expressions

2006-09-23 Thread Prof Brian Ripley
On Sat, 23 Sep 2006, Dominick Samperi wrote: > When I type > > ls("package:base", pattern="log*") > functions with names like "floor" and > "Sys.setlocale" are included. I don't > think this is how "*" is supposed to work. > > To get the desired response I have to use: > ls("packge:base", pattern=

[Rd] Regular expressions

2006-09-22 Thread Dominick Samperi
When I type ls("package:base", pattern="log*") functions with names like "floor" and "Sys.setlocale" are included. I don't think this is how "*" is supposed to work. To get the desired response I have to use: ls("packge:base", pattern="logg*") I thought "log*" means "log" followed by anything?