[pLog-svn] r2853 - plugins/trunk/atom/class/xml/atom

Jon Daley plogworld at jon.limedaley.com
Thu Jan 26 17:09:31 GMT 2006


 	Does my regexp actually work?  I am sort of surprised.  I usually 
can't get regexps right on the first try.


On Thu, 26 Jan 2006, oscar at devel.lifetype.net wrote:
> +            $regexp = '/Username="?([^"]+)"?(,|$)/';
> +            preg_match( $regexp, $header, $matches );
> +            $this->userName = $matches[1];


More information about the pLog-svn mailing list