<?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/11341" />

	<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-02-27T16:09:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2006-02-27T16:09:36-04:00</updated>

		<published>2006-02-27T16:09:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60702#p60702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60702#p60702"/>
		<title type="html"><![CDATA[regexp matching with a $string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60702#p60702"><![CDATA[
This is a proc that will return &lt;number of special chars&gt; on special chars and 0 on alphabetic and nummeric chars..<br><br><div class="codebox"><p>Code: </p><pre><code>proc special {arg} {  if {[regexp -nocase -all {[^a-z0-9]} $string -&gt; n]} {    return $n  }  return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Feb 27, 2006 4:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stilllearning]]></name></author>
		<updated>2006-02-09T02:16:26-04:00</updated>

		<published>2006-02-09T02:16:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60248#p60248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60248#p60248"/>
		<title type="html"><![CDATA[regexp matching with a $string]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60248#p60248"><![CDATA[
I have a $string that contains a bunch of special characters that regexp will pick up as expressions... so how can I do...<br><br>if {[regexp $string $matchstring]} { ... } <br><br>since that won't work, what i am looking for is a way to negate expressions like \. for a period but for the entire $string to make it literal.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7305">stilllearning</a> — Thu Feb 09, 2006 2:16 am</p><hr />
]]></content>
	</entry>
	</feed>
