[Jifty-commit] r1857 - in jifty/trunk: lib/Jifty/Test/WWW

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Aug 24 04:21:59 EDT 2006


Author: srl
Date: Thu Aug 24 04:21:58 2006
New Revision: 1857

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm

Log:
 r17994 at kootenai:  srl | 2006-08-24 04:20:09 -0400
 Regexes should contain literal pipes, not alternation symbols.


Modified: jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm	(original)
+++ jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm	Thu Aug 24 04:21:58 2006
@@ -93,8 +93,8 @@
     # Fall back to a submit field with similar attributes.
     for my $input ($f->inputs) {
 	if ($input->type eq "submit" and $input->name =~ /$action/
-	    and $input->name =~ /J:ACTIONS=([^|]+)|/ ) {
-	  $input->name =~ /J:ACTIONS=([^|]+)|/;
+	    and $input->name =~ /J:ACTIONS=([^|]+)\|/ ) {
+	  $input->name =~ /J:ACTIONS=([^|]+)\|/;
 	  my $moniker = $1;
 	  return $moniker;
       }


More information about the Jifty-commit mailing list