On Wed, Jul 14, 2004 at 11:08:20PM +0000, Smylers wrote: > The docs that come with Perl seem to use "regexp" in the most > official-looking places (section heading in perlop) and the warning > classification is also spelt that way. > > > There are 688 modules with Regex in their name, and 582 with Regexp, > > so I don't think a clear consensus has emerged. :)
> Restricting the search just to module names gives the much more > plausible numbers of 128 for "Regex" and 81 for "Regexp". Given that > the former necessarily include the latter, that's actually a ratio of > 81:46 in favour of "Regex", for what it's worth. > > More to the point, a good reason to use "Regexp" is that it turns up in > search results for either spelling, so by choosing the longer version > you aren't relying on others to remember whether it's got that "p" in it > or not. $ perl -le 'print ref qr//' Regexp -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net
