Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A0D0C376 for ; Mon, 30 Jul 2012 01:47:46 +0000 (UTC) Received: (qmail 28120 invoked by uid 500); 30 Jul 2012 01:47:46 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 28090 invoked by uid 500); 30 Jul 2012 01:47:46 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 28080 invoked by uid 99); 30 Jul 2012 01:47:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 01:47:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of flester@gmail.com designates 209.85.160.169 as permitted sender) Received: from [209.85.160.169] (HELO mail-gh0-f169.google.com) (209.85.160.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 01:47:38 +0000 Received: by ghrr18 with SMTP id r18so5198427ghr.0 for ; Sun, 29 Jul 2012 18:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=a0wvixTlKiVul7l6Jf1s9Hsb+W68WmlsEOcmz8vcM2U=; b=Cl/4oBv3oE+jH80/k6MhPO1szTxzpM0yb9f9INZNgD1TqpPjzK32OHthvrC/infcbN pxNM+lNtDrfLEomEERyvgl8tS6rywTwSTdUZUp3G41LFXl8gsAxDYLM0Kao9gogsebGJ APzUfi1NWLf31hgenMjcrWXoSidq/z1oT50jBGQ1JOGLV2d8dQiGNd0MN4wcuOrTtm+g Yp3UnM7xIiXUTbschSJEWLfT0rTi6D83o3isypO4kFrWuKCJHN6mi9nksK12TTQXBj+I s2u7MriDNQ0TL9uMWEF9c6ByjuOhFV7JaRCYR2F2/7QUm63DalgoYaWuWePguVJ2keWr mmUA== Received: by 10.50.94.196 with SMTP id de4mr7040040igb.17.1343612837322; Sun, 29 Jul 2012 18:47:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.126.164 with HTTP; Sun, 29 Jul 2012 18:47:02 -0700 (PDT) In-Reply-To: References: <751586763.199531.1343413258369.JavaMail.root@linzimmb04o.imo.intelink.gov> From: Michael Flester Date: Sun, 29 Jul 2012 21:47:02 -0400 Message-ID: Subject: Re: egrep usage - 1.3.4 To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=e89a8f234c07e25f9b04c6023d4d --e89a8f234c07e25f9b04c6023d4d Content-Type: text/plain; charset=UTF-8 On Sat, Jul 28, 2012 at 7:57 PM, John Vines wrote: > And when dealing with java, it does full matches, so adding the .* to > start and end is necessary. > > Java has both Matcher#matches and Matcher#find. The latter would operate more like the egrep(1) command without requiring the wildcards on both ends. --e89a8f234c07e25f9b04c6023d4d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sat, Jul 28, 2012 at 7:57 PM, John Vi= nes <vines@apache.org> wrote:
And when dealing with java, it does full matches, so adding the .* to start= and end is necessary.

Java has both Matcher#matc= hes and Matcher#find. The latter would operate more
like the egrep(1) command without requiring the wildcards on both ends= .
--e89a8f234c07e25f9b04c6023d4d--