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

	<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>2009-08-28T10:55:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-08-28T10:55:41-04:00</updated>

		<published>2009-08-28T10:55:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90086#p90086</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90086#p90086"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90086#p90086"><![CDATA[
I can always use couple of ranges, I mean (512 chars):<div class="codebox"><p>Code: </p><pre><code>[tomekk@zonk]:/home# echo "puts [regexp {^[a-z]{1,255}[a-z]{0,255}[a-z]{0,2}$} "&lt;512 a chars in here&gt;" ]" | tclsh1</code></pre></div>but this limitation is still funny <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Aug 28, 2009 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-08-28T10:45:35-04:00</updated>

		<published>2009-08-28T10:45:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90085#p90085</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90085#p90085"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90085#p90085"><![CDATA[
lol<br>but its a much better solution than using more code, at least in my humbly opinion <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Fri Aug 28, 2009 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-08-28T10:40:41-04:00</updated>

		<published>2009-08-28T10:40:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90083#p90083</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90083#p90083"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90083#p90083"><![CDATA[
<blockquote class="uncited"><div>how about exec yourscript.php $var?</div></blockquote>oh no way, it's stupid ;p<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Aug 28, 2009 10:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-08-28T10:38:45-04:00</updated>

		<published>2009-08-28T10:38:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90081#p90081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90081#p90081"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90081#p90081"><![CDATA[
how about exec yourscript.php $var?<br><br>and besides that, I would wait for nml or someone else who might be knowing about such "issues" - I dont use limiters very often<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Fri Aug 28, 2009 10:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-08-28T10:31:35-04:00</updated>

		<published>2009-08-28T10:31:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90080#p90080</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90080#p90080"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90080#p90080"><![CDATA[
<blockquote class="uncited"><div>found this on the web:<br><blockquote class="uncited"><div>RE_DUP_MAX, the limit on repetition counts in bounded repetitions, is 255.</div></blockquote>not really making sense if it works in php<br><br>... BUT, you are free to use<br><div class="codebox"><p>Code: </p><pre><code>puts [regexp {^[a-z]{1,}$} abcd]</code></pre></div>which works in my case and limits between 1 and unlimited</div></blockquote>hehe, I know about that,<br>but I need to set a range, <br>otherwise its funny thing with that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>without proper regexp I have to use extra [string length]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Aug 28, 2009 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-08-28T10:16:54-04:00</updated>

		<published>2009-08-28T10:16:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90079#p90079</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90079#p90079"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90079#p90079"><![CDATA[
found this on the web:<br><blockquote class="uncited"><div>RE_DUP_MAX, the limit on repetition counts in bounded repetitions, is 255.</div></blockquote>not really making sense if it works in php<br><br>... BUT, you are free to use<br><div class="codebox"><p>Code: </p><pre><code>puts [regexp {^[a-z]{1,}$} abcd]</code></pre></div>which works in my case and limits between 1 and unlimited<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Fri Aug 28, 2009 10:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-08-28T10:13:07-04:00</updated>

		<published>2009-08-28T10:13:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90078#p90078</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90078#p90078"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90078#p90078"><![CDATA[
yeah, I'm using TCL couple of years, but today is a first day when I used the range {1, 256} and I got this what I wrote above ;]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Aug 28, 2009 10:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[raider2k]]></name></author>
		<updated>2009-08-28T09:58:35-04:00</updated>

		<published>2009-08-28T09:58:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90077#p90077</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90077#p90077"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90077#p90077"><![CDATA[
and as far as I know, theres no limitation of regex usage in tcl, havent had any problems at all yet.<br><br>//edit:<br><br>looks like max specified limit is working with 255 but not with 256 :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9589">raider2k</a> — Fri Aug 28, 2009 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-08-28T09:53:55-04:00</updated>

		<published>2009-08-28T09:53:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90076#p90076</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90076#p90076"/>
		<title type="html"><![CDATA[TCL regexp limitation?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90076#p90076"><![CDATA[
Hey,<br><br>Look at this:<div class="codebox"><p>Code: </p><pre><code>[tomekk@zonk]:/home# php -r 'echo preg_match("/^[a-z]{1,256}$/", "abcd") . "\n";'1</code></pre></div><div class="codebox"><p>Code: </p><pre><code>[tomekk@zonk]:/home# perl -e 'print "abcd" =~ /[a-z]{1,256}/ . "\n"'1</code></pre></div>tcl:<div class="codebox"><p>Code: </p><pre><code>[tomekk@zonk]:/home# echo "puts [regexp {^[a-z]{1,256}$} abcd]" | tclshcouldn't compile regular expression pattern: invalid repetition count(s)</code></pre></div><div class="codebox"><p>Code: </p><pre><code>[tomekk@zonk]:/home# echo "puts [regexp {^[a-z]{1,255}$} abcd]" | tclsh1</code></pre></div>Damn, don't tell me that I have to use [string length] instead of one nice regexp?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Fri Aug 28, 2009 9:53 am</p><hr />
]]></content>
	</entry>
	</feed>
