Return-Path: Delivered-To: apmail-jakarta-oro-user-archive@apache.org Received: (qmail 16919 invoked from network); 14 May 2003 18:14:16 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 May 2003 18:14:16 -0000 Received: (qmail 1969 invoked by uid 97); 14 May 2003 18:16:24 -0000 Delivered-To: qmlist-jakarta-archive-oro-user@nagoya.betaversion.org Received: (qmail 1962 invoked from network); 14 May 2003 18:16:23 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 14 May 2003 18:16:23 -0000 Received: (qmail 16770 invoked by uid 500); 14 May 2003 18:14:14 -0000 Mailing-List: contact oro-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "ORO Users List" Reply-To: "ORO Users List" Delivered-To: mailing list oro-user@jakarta.apache.org Received: (qmail 16757 invoked from network); 14 May 2003 18:14:13 -0000 Received: from mail.hks.com (63.125.197.5) by daedalus.apache.org with SMTP; 14 May 2003 18:14:13 -0000 Received: from gimli.hks.com (fw.hks.com [63.125.196.1]) by mail.hks.com (Postfix) with ESMTP id 7A9DA77C44 for ; Wed, 14 May 2003 14:14:17 -0400 (EDT) Received: from maru.hks.com (maru.hks.com [172.16.0.2]) by gimli.hks.com (Postfix) with ESMTP id 7252024ADA6 for ; Wed, 14 May 2003 14:14:17 -0400 (EDT) Received: from acacia (acacia.hks.com [192.168.128.76]) by maru.hks.com (Postfix) with SMTP id CF4F71400B80; Wed, 14 May 2003 14:14:16 -0400 (EDT) Reply-To: From: "Neil Merin" To: Cc: "Neil Merin" Subject: REGEX Date: Wed, 14 May 2003 14:13:20 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am having problems creating a simple regex pattern that would match the string 'books' followed by a backslash '\'. In other words 'books\' without the ticks. This appears to be a simple pattern but I am having problems. I've tried to create a simpler pattern that would match a single backslash but had no luck. linePattern1 = lineCompiler.compile ("books\\"); String test = linePattern1.getPattern(); # line 25 # Runtime Error # Exception in thread "main" java.lang.NullPointerException at ModifyRegistry.main(ModifyRegistry.java:25) Any suggestions on creating patterns with backslashes. Thank you, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: oro-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: oro-user-help@jakarta.apache.org