Re: Regular expression action mapper

2010-07-30 Thread Wes Wannemacher
Make sure you register it as a plugin here - https://cwiki.apache.org/confluence/display/S2PLUGINS -Wes On Sun, Jul 18, 2010 at 7:48 AM, koolbunnyrabbit wrote: > Hi all, > > Just trying to give back (or a shameless plug - you decide) > Months ago (last year really) I implemented a regular expre

Re: Regular Expression Denial of Service Attacks and Defenses

2010-05-31 Thread Greg Lindholm
Hi abhishek, The meaning of the expression is explained in the article; the point is not the usefulness of the expression but that it is "badly formed" so that the regex engine can take an extremely long time to determine that the test string does not match the expression (also explained in the ar

Re: Regular Expression Denial of Service Attacks and Defenses

2010-05-31 Thread abhishek jain
Hi Greg, just a doubt , on looking at first sight i dont understand what does the regex "^(\d+)+$" do additionally. As it should be equivalent to "^(\d+)$" I am more perlish (from perl) biased which says the regex is greedy and hence it will anyway to the maximum match, pl. clarify, thanks abhish

RE: regular expression

2004-07-19 Thread Hirofumi Akiyama
I am sorry. A message was transmitted by mistake. >From: "Hirofumi Akiyama" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: RE: regular expression >Date: Tue

RE: regular expression

2004-07-19 Thread Hirofumi Akiyama
^((?!Test).)* -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 2:21 PM To: Struts Users Mailing List Subject: regular expression Hi, I want to validate an attribute, the rule is that the input should

Re: regular expression

2004-07-16 Thread Xavier Noria
On Jul 16, 2004, at 7:21, [EMAIL PROTECTED] wrote: I want to validate an attribute, the rule is that the input should not start with 'Test', how to write the regular expression for this validation. Please help me guys. If you validate by code you can negate that it does start that way: