Thread: Regex examples
View Single Post
Old 09-25-2012, 10:59 AM   #135
paulfiera
Addict
paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.paulfiera could sell banana peel slippers to a Deveel.
 
paulfiera's Avatar
 
Posts: 339
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: iPad, Kobo Glo
Thanks, Doitsu and DiapDealer

This is from Clive Barker's Imajica

Using

Quote:
<a class="(.*?)" id="(.*?)"></a>
and clicking on Count All, it finds 18 matches.

Clicking on Find, the first match is this one:

Quote:
<a class="calibre16" href="../Text/Imajica_split_211.html#filepos2489718" id="filepos69564"><span class="calibre17">William</span></a>—and they had only argued once, but it had been a telling exchange. She’d accused him of always looking at other women; looking, looking, as though for the next conquest. Perhaps because he didn’t care for her too much, he’d replied honestly and told her she was right. He was stupid for her sex. Sickened in their absence, blissful in their company: love’s fool. She’d replied that while his obsession might be healthier than her husband’s—which was money and its manipulation—his behavior was still neurotic. Why this endless hunt? she’d asked him. He’d answered with some folderol about seeking the idealwoman, but he’d known the truth even as he was spinning her this tosh, and it was a bitter thing. Too bitter, in fact, to be put on his tongue. In essence, it came down to <a class="calibre22"></a>
Clicking on Find again, it matches this one:


Quote:
<a class="calibre16" href="../Text/Imajica_split_199.html#filepos2416389" id="filepos73127"><span class="calibre17">Gloriana</span></a>, one of his five cats, escaped in search of a mate. “Too slow, sweetie!” he told her. She yowled at him in complaint. “I keep her fat so she’s slow,” he said. “And I don’t feel so piggy myself.”<a class="calibre22"></a>
This is on Sigil 0.5.3

Strange.
paulfiera is offline   Reply With Quote