<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/11857" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2006-05-19T20:10:32-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/11857</id>

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-05-19T20:10:32-04:00</updated>

		<published>2006-05-19T20:10:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63184#p63184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63184#p63184"/>
		<title type="html"><![CDATA[[regsub] Parsing problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63184#p63184"><![CDATA[
probably you just need to add another number like "\\1&lt;a href='mailto:\\2'&gt;\\3&lt;/a&gt;".<br>Addionally I would suggest using .*? instead of .* to get the smallest wildcard, not the largest.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri May 19, 2006 8:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ZeRoMe]]></name></author>
		<updated>2006-05-18T12:17:38-04:00</updated>

		<published>2006-05-18T12:17:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63151#p63151</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63151#p63151"/>
		<title type="html"><![CDATA[[regsub] Parsing problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63151#p63151"><![CDATA[
Hello!<br>Sorry I'm french and my english is'nt verry good ^^<br>For explain my problem view this example:<br><br>.tcl set text {[email=<a href="mailto:my@email.com">my@email.com</a>]Mon email[/email] [email]<a href="mailto:my@email.com">my@email.com</a>[/email]}<br>This is OK.<br><br>And when I use:<br>.tcl regsub -- {\[email=(.*)\](.*)\[/email\]} $text "&lt;a href='mailto:\\1'&gt;\\2&lt;/a&gt;" text2; putlog "\00304$text2"<br><br>The result is:<br>&lt;a href='mailto:<a href="mailto:my@email.com">my@email.com</a>]Jerome[/email] email: [email'&gt;<a href="mailto:my@email.com">my@email.com</a>&lt;/a&gt;<br><br>But i want obtain this:<br>&lt;a href='mailto:<a href="mailto:my@email.com">my@email.com</a>&gt;Jerome&lt;/a&gt; email: &lt;a href='mailto:<a href="mailto:my@email.com">my@email.com</a>'&gt;<a href="mailto:my@email.com">my@email.com</a>&lt;/a&gt;<br><br>Thank you for your help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7717">ZeRoMe</a> — Thu May 18, 2006 12:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
