Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
seems there is a bug in PowerGREP?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Затлер Евгений Викторович  
View profile  
 More options Oct 28, 4:13 am
From: Затлер Евгений Викторович <eugenysatt...@gmail.com>
Date: Wed, 28 Oct 2009 12:13:16 +0400
Local: Wed, Oct 28 2009 4:13 am
Subject: seems there is a bug in PowerGREP?

Hello,

it seems there is a bug in powerGREP.
i tried version 3.4.2
I am searching for

*(\d+\b).*?\1
*
through a line of comma separated values:

12, 22, 3, 45, 3, 36

Here is what i get in PowerGREP
12, 22, 3, 45, 3, 36
(if you use html enabled mailer you should see the colored matches)
While I agree with "3, 45, 3" match , I definitely can not agree with the
first match "2, 2"

The capturing group includes a boundary \b that matches between the first
"2" and a comma
And the backreference \1 should as well account for that boundary.
In my target string, there is no boundary here
22
 ^
between the neughbouring "twos"

Do you agree that it is a bug?
==================================

P.S.
if i change the regexp to *(\d+\b).*\1*
PowerGREP reports that "3, 45, 3, 3" matched. Again it considers there is a
boundary inside "36".
And that is strange.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google