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 implement

Regular expression action mapper

2010-07-18 Thread koolbunnyrabbit
Hi all, Just trying to give back (or a shameless plug - you decide) Months ago (last year really) I implemented a regular expression action mapper similar to Django's URL dispatcher. Given this regex.mapping file listProduct::^/products$ showProduct:entityId:^/product/

Re: Regular Expression Denial of Service Attacks and Defenses

2010-05-31 Thread Greg Lindholm
nd > hence it will anyway to the maximum match, > pl. clarify, > > thanks > abhishek > > On Fri, May 28, 2010 at 12:42 AM, Greg Lindholm > wrote: > >> This link is to an article that talks of how Denial of Service attacks >> can target vulnerable Regular

Re: Regular Expression Denial of Service Attacks and Defenses

2010-05-31 Thread abhishek jain
pl. clarify, thanks abhishek On Fri, May 28, 2010 at 12:42 AM, Greg Lindholm wrote: > This link is to an article that talks of how Denial of Service attacks > can target vulnerable Regular Expressions. > > Regular Expression Denial of Service Attacks and Defenses > http://msdn.microso

Regular Expression Denial of Service Attacks and Defenses

2010-05-27 Thread Greg Lindholm
This link is to an article that talks of how Denial of Service attacks can target vulnerable Regular Expressions. Regular Expression Denial of Service Attacks and Defenses http://msdn.microsoft.com/en-us/magazine/ff646973.aspx (Not sure if you need to login to see this page, I hope not.) A

Regular Expression Action Mapper

2009-06-10 Thread foo bar
Hi all, I've just started implementing a regex action mapper (influenced by Django's URL dispatcher [1]). Just wondering whether anyone has done this before. Would like to know what other people think as well. Ideas ? Suggestions ? Bugs ? This is what I have at the moment, protected String[] url

Re: How do you write a regular expression for allowing single quotes in a word

2005-06-08 Thread Nandan
\' should work Thanks Guru - As dark as the inside of a needle -Brodsky - Original Message - From: "Harland, David" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 08, 2005 1:07 PM Subject: How do you write a regular expression for allowing sin

How do you write a regular expression for allowing single quotes in a word

2005-06-08 Thread Harland, David
How do you write a regular expression for allowing single quotes in a word eg. O'reilly Many thanks Dave. This e mail is from DLA Piper Rudnick Gray Cary UK LLP. The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or us

RE: Documentation for validator regular expression

2004-12-14 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad > Momin Rashid > Sent: Tuesday, December 14, 2004 4:10 PM > To: [EMAIL PROTECTED] > Subject: Documentation for validator regular expression > > > Hello, > > Can anyone poin

Documentation for validator regular expression

2004-12-14 Thread Muhammad Momin Rashid
Hello, Can anyone point me to documentation I can refer to for struts validator regular expressions. Regards, Muhammad Momin Rashid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

RE: Getting a regular expression from application.properties

2004-11-25 Thread Simon Matic Langford
by character basis... > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow > Sent: 24 November 2004 17:59 > To: [EMAIL PROTECTED] > Subject: Re: Getting a regular expression from application.properties > > > > Did you try

Re: Getting a regular expression from application.properties

2004-11-24 Thread Bill Siggelkow
Did you try escaping the single qoutes with a backslash? ^[0-9]\'{\'0,10\'}\'(,[0-9]\'{\'0,2\'}\')?$ Simon Matic Langford wrote: I have a regular expression for date formatting (don't ask!) in our application.properties. This can change depending on

Getting a regular expression from application.properties

2004-11-24 Thread Simon Matic Langford
I have a regular expression for date formatting (don't ask!) in our application.properties. This can change depending on user locale. I am trying to get the following value back: ^[0-9]'{'0,10'}'(,[0-9]'{'0,2'}')?$ However in MessageResources a

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

validatewhen with a regular expression

2004-07-19 Thread Matthew Van Horn
') or (*this* != null) mask ^\d{4}-\d{4}$ I'm using a LookupDispatchAction, and if I am calling delete, I do not send the phoneNumber field. If I am not deleting, then I would like to validate this against a regular expression. And, ye

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 star

regular expression

2004-07-15 Thread subramaniam . o
Hi, 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. Thanks and regards Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Web

Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Navjot Singh
regular expression Ram, Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually we found that it is accepting 0(zero) when we enter a integer value as 0(zero) or which is invalid. anybody have any idea about how to achieve the above using regular expression. I tried finding

RE: [OT]Help needed in wring regular expression

2004-06-16 Thread RDoss
. thank you. -Ram -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 7:25 AM To: Struts Users Mailing List Subject: Re: [OT]Help needed in wring regular expression Ram, > Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many)

Re: [OT]Help needed in wring regular expression

2004-06-16 Thread Christopher Schultz
Ram, Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually we found that it is accepting 0(zero) when we enter a integer value as 0(zero) or which is invalid. anybody have any idea about how to achieve the above using regular expression. I tried finding any document to

RE: [OT]Help needed in wring regular expression

2004-06-15 Thread RDoss
Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually we found that it is accepting 0(zero) when we enter a integer value as 0(zero) or which is invalid. anybody have any idea about how to achieve the above using regular expression. I tried finding any document to refer

RE: [OT]Help needed in wring regular expression

2004-06-15 Thread RDoss
tains the basics of using regular expression with examples. Tnx a lot. -Ram -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 11:37 PM To: Struts Users Mailing List Subject: Re: [OT]Help needed in wring regular expression but you can ac

Re: [OT]Help needed in wring regular expression

2004-06-14 Thread Navjot Singh
it fails if we enter "00","000""" + I could not restrict the size to be 4 digit max when I tried to enter more than a digit. Can anybody help me to write regular expression for the above conditions or any sample example code fo

[OT]Help needed in wring regular expression

2004-06-14 Thread RDoss
t maximum. I tried using "(\d(1)?[1-9]{1,4})|(FEW)|(few)|(MANY)|(many)" to avoid entering 0 as first value but it fails if we enter "00","000""" + I could not restrict the size to be 4 digit max when I tried to enter more than a digit. Can anybody help me

Help needed in wring regular expression

2004-06-14 Thread RDoss
t maximum. I tried using "(\d(1)?[1-9]{1,4})|(FEW)|(few)|(MANY)|(many)" to avoid entering 0 as first value but it fails if we enter "00","000""" + I could not restrict the size to be 4 digit max. Can anybody help me to write regular expression for the above