[Rt-devel] FIXED: Can't add new watchers by principal ID via web

Ruslan Zakirov ruz at bestpractical.com
Wed May 16 00:25:42 EDT 2007


Thanks, has been applied as revision 7036.

On 2/19/07, Richard Harman <rt-devel at richardharman.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> With Ruslan steering me in the right direction, I found the problem:
>
> This diff is against 3.7-EXPERIMENTAL-RTIR-2.2, Web.pm rev. 7022.  This
> resolves a clobbered regex-match $1 by stashing the principal ID in a
> temporary variable.
>
> The issue was this: each successful m// match resets $1 .. $9.  Even
> though in the diff I use m/(?:x|y|z)/, the numbered match variables
> still get reset to undef. :/
>
> - -----------------------------------------------------------
> "Looks like there'll be no money for you, Crazy Round Man."
>                                              - Samurai Jack
> Richard G Harman Jr           <me+nospam at richardharman.com>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD8DBQFF2Oo93rKdb192Vz8RAjaGAJ9VKgBsdesXS2XL51Sqddm4+7InEACeM3jQ
> begbTBAWMeqCvAxjDwZ68Ec=
> =n2SQ
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
>


-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list