Hello Paul -
You should get a copy of the Camel book (Programming Perl from O'Reilly) and do some experiments with regular expressions to get a feel for them. A RewriteUsername to strip spaces would look like this: RewriteUsername s/ //g this one strips the "@some.realm" from a username RewriteUsername s/^([^@]+).*/$1/ so "[EMAIL PROTECTED]" becomes "user". regards Hugh On Tue, 2 Apr 2002 19:41, Paul Black wrote: > I'm still trying to make my rewrite rules do exactly what I want. > What rule would I need to string leading white space from the > username? > > Also what does the first rule shown below do? > > Regards. Paul > > >><Realm DEFAULT> > >> RewriteUsername s/^([^@]+).*/$1/ > >> RewriteUsername tr/A-Z/a-z/ > > === > Archive at http://www.open.com.au/archives/radiator/ > Announcements on [EMAIL PROTECTED] > To unsubscribe, email '[EMAIL PROTECTED]' with > 'unsubscribe radiator' in the body of the message. -- Radiator: the most portable, flexible and configurable RADIUS server anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. - Nets: internetwork inventory and management - graphical, extensible, flexible with hardware, software, platform and database independence. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.