Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Grep search
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
  8 messages - 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
 
Mardulia  
View profile  
 More options Jul 2 2012, 9:59 am
From: Mardulia <and...@andreapluhar.com>
Date: Mon, 2 Jul 2012 06:59:13 -0700 (PDT)
Local: Mon, Jul 2 2012 9:59 am
Subject: Grep search

This is not strictly speaking a Joomla question- but I bet someone out
there will know the answer.

Why does a GREP search not find this: <div.+?</div>

I want to use GREP to strip out 15 or so instances of these tags and what's
between them: <div class="result-description"> and </div> But GREP only
gives me an annoying beep and wont find this. I can do it all by hand of
course, but it's driving me crazy that this isn't working.

FYI: I'm using Textwrangler to clean the code out of some source code so
I can use the copy in a newsletter, and I'm doing it this way to retain the
a tags.

Any advice?

Thanks A.


 
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.
Matt Thomas  
View profile  
 More options Jul 2 2012, 11:05 am
From: Matt Thomas <m...@betweenbrain.com>
Date: Mon, 2 Jul 2012 11:05:38 -0400
Local: Mon, Jul 2 2012 11:05 am
Subject: Re: [joomlaug] Grep search

Hi Andrea,

With Textwrangler using the PCRE flavor of regex, I tested this at
http://www.regextester.com/ and it seems to work. Both <div.+?</div>
and <div.+</div> matched <div class="result-description">bob</div> of <div
class="result-description">bob</div><span>.

Could this be an issue with Textwrangler versus being an issue with your
expression?

Best,

Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>™
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain


 
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.
Andrea Pluhar  
View profile  
 More options Jul 2 2012, 12:10 pm
From: Andrea Pluhar <and...@andreapluhar.com>
Date: Mon, 2 Jul 2012 12:10:38 -0400
Local: Mon, Jul 2 2012 12:10 pm
Subject: Re: [joomlaug] Grep search

Thanks for the link to this site! And I think you're right, it's TextWrangler. They have a support line- so I'll go bug them! ;-)

Thanks again!

Andrea Pluhar
160 Briar Lane
Wellfleet MA 02667
508 944 3049

Creative Services: http://pluharcreative.com
Fine Art: http://www.andreapluhar.com

On Jul 2, 2012, at 11:05 AM, Matt Thomas wrote:


 
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.
Matt Thomas  
View profile  
 More options Jul 2 2012, 2:45 pm
From: Matt Thomas <m...@betweenbrain.com>
Date: Mon, 2 Jul 2012 14:45:25 -0400
Local: Mon, Jul 2 2012 2:45 pm
Subject: Re: [joomlaug] Grep search

Welcome and good luck!

Best,

Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>™
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain

On Mon, Jul 2, 2012 at 12:10 PM, Andrea Pluhar <and...@andreapluhar.com>wrote:


 
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.
Andrea Pluhar  
View profile  
 More options Jul 2 2012, 5:17 pm
From: Andrea Pluhar <and...@andreapluhar.com>
Date: Mon, 2 Jul 2012 17:17:58 -0400
Local: Mon, Jul 2 2012 5:17 pm
Subject: Re: [joomlaug] Grep search

I figured it out. Textwrangler was reading invisibles... Who knew?

Andrea Pluhar
160 Briar Lane
Wellfleet MA 02667
508 944 3049

Creative Services: http://pluharcreative.com
Fine Art: http://www.andreapluhar.com

On Jul 2, 2012, at 2:45 PM, Matt Thomas wrote:


 
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.
Matt Thomas  
View profile  
 More options Jul 2 2012, 5:18 pm
From: Matt Thomas <m...@betweenbrain.com>
Date: Mon, 2 Jul 2012 17:18:38 -0400
Local: Mon, Jul 2 2012 5:18 pm
Subject: Re: [joomlaug] Grep search

Interesting. Glad you figured it out!

Best,

Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>™
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain

On Mon, Jul 2, 2012 at 5:17 PM, Andrea Pluhar <and...@andreapluhar.com>wrote:


 
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.
Andrea Pluhar  
View profile  
 More options Jul 2 2012, 5:19 pm
From: Andrea Pluhar <and...@andreapluhar.com>
Date: Mon, 2 Jul 2012 17:19:30 -0400
Local: Mon, Jul 2 2012 5:19 pm
Subject: Re: [joomlaug] Grep search

This business is always interesting! Hahahah!

Andrea Pluhar
160 Briar Lane
Wellfleet MA 02667
508 944 3049

Creative Services: http://pluharcreative.com
Fine Art: http://www.andreapluhar.com

On Jul 2, 2012, at 5:18 PM, Matt Thomas wrote:


 
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.
Matt Thomas  
View profile  
 More options Jul 2 2012, 8:12 pm
From: Matt Thomas <m...@betweenbrain.com>
Date: Mon, 2 Jul 2012 20:12:27 -0400
Local: Mon, Jul 2 2012 8:12 pm
Subject: Re: [joomlaug] Grep search

Every day is a challenge and a great learning opportunity.

Best,

Matt

Sent from my phone that uses an open source operating system.
On Jul 2, 2012 5:19 PM, "Andrea Pluhar" <and...@andreapluhar.com> wrote:


 
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 »