<?xml version="1.0" encoding="windows-1252"?>
<node id="551104" title="Re^2: Longest possible run of a single character" created="2006-05-23 05:06:10" updated="2006-05-23 01:06:10">
<type id="11">
note</type>
<author id="491819">
ioannis</author>
<data>
<field name="doctext">
A slight improvement. It is better to set the pattern to
&lt;b&gt; $re = qr/((.)(?:\2)*)/ &lt;/b&gt; . This will allow
matching strings with single chars, strings like &lt;i&gt; $_ = 'abc' &lt;/i&gt; .</field>
<field name="root_node">
551038</field>
<field name="parent_node">
551041</field>
</data>
</node>
