Google Groups Home
Help | Sign in
Bug: can only use replacement pattern once
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
  2 messages - Collapse all
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
Duncan Smart  
View profile
 More options Aug 16 2007, 6:01 am
From: Duncan Smart <duncan.sm...@gmail.com>
Date: Thu, 16 Aug 2007 10:01:14 -0000
Local: Thurs, Aug 16 2007 6:01 am
Subject: Bug: can only use replacement pattern once
Had a bunch of URLs that I wanted to generate <a href="zzz">zzz<a>
tags from, but this pattern:

<a href="$1">$1</a>

resulted in:

<a href="http://www.example.com/abc">$1</a>
<a href="http://www.example.com/def">$1</a>
etc...

Expected result:
<a href="http://www.example.com/abc">http://www.example.com/abc</a>
<a href="http://www.example.com/def">http://www.example.com/def</a>


    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.
secretGeek  
View profile
 More options Aug 16 2007, 6:58 pm
From: secretGeek <leonbambr...@gmail.com>
Date: Thu, 16 Aug 2007 22:58:06 -0000
Local: Thurs, Aug 16 2007 6:58 pm
Subject: Re: Bug: can only use replacement pattern once
Doh!

Fixed now Duncan.

Updated the article too.

On Aug 16, 8:01 pm, Duncan Smart <duncan.sm...@gmail.com> wrote:


    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
©2008 Google