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

	<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>2002-09-11T20:24:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-11T20:24:58-04:00</updated>

		<published>2002-09-11T20:24:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10790#p10790</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10790#p10790"/>
		<title type="html"><![CDATA[backslashing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10790#p10790"><![CDATA[
You could write a function, but then you wouldn't be able to use any regexp special chars because they would all be escaped. That would make regexp totally useless... just use string match instead.<br><br>Change your code like this:<br><br>set test {:\)}<br>regexp -nocase $text $string<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Sep 11, 2002 8:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-09-11T19:33:13-04:00</updated>

		<published>2002-09-11T19:33:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10789#p10789</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10789#p10789"/>
		<title type="html"><![CDATA[backslashing]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10789#p10789"><![CDATA[
I have a variable that contains ":)"<br><br>now I want to do a regexp match for this, like so<br>set test ":)"<br>regexp -nocase $test $string<br><br>But then I get "couldn't compile regular expression pattern: parentheses () not balanced"<br><br>SO, then i thought I wanted to escape ")", but is there a function for this... or something easier? thx<p>Statistics: Posted by Guest — Wed Sep 11, 2002 7:33 pm</p><hr />
]]></content>
	</entry>
	</feed>
