You are right, a fair bit of destruction to the page for a small mistake. :)
  ----- Original Message ----- 
  From: Thiago H de Paula Figueiredo 
  To: Tapestry users 
  Sent: Friday, May 24, 2013 1:58 PM
  Subject: Re: tapestry js error after form success


  On Fri, 24 May 2013 09:50:24 -0300, John <[email protected]> wrote:

  > something to do with my regexp validater...the js console has thrown a  
  > message, its just to validate phone numbers as a + then numbers or  
  > spaces?
  >
  > phone-regexp=^\\+?+[0-9 ]+$
  >
  > Uncaught SyntaxError: Invalid regular expression: /^\+?+[0-9 ]+$/:  
  > Nothing to repeat

  I don't think that's a valid regular expression. You probably need to  
  escape the '/' and '+' characters.

  -- 
  Thiago H. de Paula Figueiredo

  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [email protected]
  For additional commands, e-mail: [email protected]

Reply via email to