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

	<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-08-11T10:57:02-04:00</updated>

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

		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-08-11T10:57:02-04:00</updated>

		<published>2006-08-11T10:57:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65386#p65386</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65386#p65386"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65386#p65386"><![CDATA[
Yes nml375 alread said that. It's a little bit circumstantial but it works.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Fri Aug 11, 2006 10:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-08-11T09:35:53-04:00</updated>

		<published>2006-08-11T09:35:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65381#p65381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65381#p65381"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65381#p65381"><![CDATA[
you may have to settle with converting to all lowercase before searching<br><div class="codebox"><p>Code: </p><pre><code>set list [string tolower $variable]lsearch $variable text</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Aug 11, 2006 9:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-08-11T04:24:07-04:00</updated>

		<published>2006-08-11T04:24:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65375#p65375</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65375#p65375"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65375#p65375"><![CDATA[
[lsearch] has <em class="text-italics">-nocase</em> switch in Tcl 8.5 only<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Aug 11, 2006 4:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2006-08-11T00:14:52-04:00</updated>

		<published>2006-08-11T00:14:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65374#p65374</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65374#p65374"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65374#p65374"><![CDATA[
Have you tried using the following?<div class="codebox"><p>Code: </p><pre><code>lsearch -exact -nocase { list } pattern</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Fri Aug 11, 2006 12:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-08-10T19:41:43-04:00</updated>

		<published>2006-08-10T19:41:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65367#p65367</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65367#p65367"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65367#p65367"><![CDATA[
lsearch has a -regexp option, and regexp has options for case-insensitive matching, so perhaps play around with that a bit..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Thu Aug 10, 2006 7:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-08-10T10:35:24-04:00</updated>

		<published>2006-08-10T10:35:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65353#p65353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65353#p65353"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65353#p65353"><![CDATA[
You could always do the ugly hack; making sure list is always lowercase (string tolower if your friend here).<br>It's not a pretty solution, but it usually does the trick...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Aug 10, 2006 10:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darton]]></name></author>
		<updated>2006-08-10T10:27:35-04:00</updated>

		<published>2006-08-10T10:27:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=65352#p65352</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=65352#p65352"/>
		<title type="html"><![CDATA[make lsearch case insensitive]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=65352#p65352"><![CDATA[
Hello!<br>If I use the command "lsearch" to look for the word "test" in a textfile, there is a difference between test and Test. But I want that they are equal. Unfortunately the function -nocase is only available from TCL 8.5. As I am using a windrop, compiling is not that easy. So is there another possibility to make the lsearch command case insensitive?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7270">darton</a> — Thu Aug 10, 2006 10:27 am</p><hr />
]]></content>
	</entry>
	</feed>
