RE: to match there is no such substring
"Kevin Markey" <[email protected]> Wed, 14 Jun 2006 12:05:37 -0600
| Newsgroups | gmane.comp.jakarta.oro.user |
|---|---|
| Message-ID | <E31E3AC363BEA843BBFD942E20B4D3F034F74D@scswhq.headquarters.silvercreeksystems.com> |
------_=_NextPart_001_01C68FDD.239D350C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The same solution applies. Give the user a checkbox to chose to NEGATE = the result. Because of the nature of regular languages, it is easier to test a = "positive" regex instead of crafting a regex for all the "negative" = instances. Kevin Markey -----Original Message----- From: Ilhami Visne [mailto:[email protected]] Sent: Wed 6/14/2006 10:23 AM To: ORO Users List Subject: Re: to match there is no such substring =20 actually i wrote a program, where there is a text-field for regex. users write their regexes into this field. now, how a regex should they write = to do this? regards On 6/13/06, Chennamsetti, Raja <[email protected]> wrote: > > You can use !Matcher.contains(pattern) > regards > > > -----Original Message----- > From: Ilhami Visne [mailto:[email protected]] > Sent: Tue 6/13/2006 5:19 AM > To: [email protected] > Subject: to match there is no such substring > > hi, > > With RE is possible to match a string. I want but the opposite. it = should > return true, if the regex doesn't match a string. > > Problem is: i have a strings and i want only the strings, which don't > contain a specific word. > > thanx in advance > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > CONFIDENTIALITY NOTICE: This electronic mail transmission and any = accompanying documents contain information belonging to Silver Creek = Systems, Inc. that may be confidential and legally privileged. If you = are not the intended recipient, any disclosure, copying, distribution or = action taken in reliance on the information is strictly prohibited. If = you have received the information in error, please contact the sender by = reply email and destroy all copies of the original email. Thank You. ------_=_NextPart_001_01C68FDD.239D350C Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ------_=_NextPart_001_01C68FDD.239D350C--