Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Growl-GNTP CPAN distribution.

Report information
The Basics
Id: 72827
Status: resolved
Priority: 0/
Queue: Growl-GNTP

People
Owner: Nobody in particular
Requestors: devin [...] vibechild.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Regular expression issue
Date: Tue, 29 Nov 2011 13:21:43 -1000
To: bug-Growl-GNTP [...] rt.cpan.org
From: Devin <devin [...] vibechild.com>
I am unable to get this module to work unless I remove the $ from the end of the regular expressions on lines 87 and 167. I change: $ret = $1 if $ret =~ /^GNTP\/1\.0 -?(\w+).*$/; To this: $ret = $1 if $ret =~ /^GNTP\/1\.0 -?(\w+).*/; And it works. Without this, registration and notification both fail. -Devin
Thanks. I fixed it. On 2011-11月-29 火 18:22:00, devin@vibechild.com wrote: Show quoted text
> I am unable to get this module to work unless I remove the $ from the > end of the regular expressions on lines 87 and 167. > > I change: > > $ret = $1 if $ret =~ /^GNTP\/1\.0 -?(\w+).*$/; > > To this: > > $ret = $1 if $ret =~ /^GNTP\/1\.0 -?(\w+).*/; > > And it works. > > Without this, registration and notification both fail. > > -Devin >