View Single Post
Old 01-12-2012, 07:31 PM   #44
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 299
Karma: 56788
Join Date: Jun 2011
Device: Kindle
Okay, found something else:

the expression (.*) is not capturing strings that are longer than one line of code. For example:

a search for

Code:
<div[^>]*>(.*)</div>
comes back with zero hits, even though there are multiple instance that should be matched by that, such as:

Code:
    <div class="s1">
      <h4 class="calibre3" id="heading_id_2"><span class="none">Chapter 2.</span></h4>

      <h4 class="calibre3" id="heading_id_3"></h4>
    </div>
ElMiko is offline