2017 © Pedro Peláez
 

library requery

Query text data with the power of Regular Expression.

image

ddliu/requery

Query text data with the power of Regular Expression.

  • Wednesday, December 17, 2014
  • by ddliu
  • Repository
  • 2 Watchers
  • 2 Stars
  • 50 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

requery Build Status

Query text data with the power of Regular Expression., (*1)

Usage

use ddliu\requer\Context;

$q = new Context($content);
$q->find('#

.*
#Uis') ->then(function($table) { $table->findAll('#<th>(.*)</th>#Uis') ->each(function($th) { echo 'th: '.$th[1]."\n"; }); }) ->then(function($table) { $table->find('#<tbody>.*</tbody>#Uis')->findAll('#<tr>.*</tr>#Uis') ->each(function($tr) { $tr->findAll('#<td>(.*)</td>#Uis') ->each(function($td) { echo 'td: '.$td[1]."\n"; }); }); });

The Versions

17/12 2014

dev-master

9999999-dev

Query text data with the power of Regular Expression.

  Sources   Download

MIT

by dong

17/12 2014

v0.1.1

0.1.1.0

Query text data with the power of Regular Expression.

  Sources   Download

MIT

by dong

03/11 2014

v0.1.0

0.1.0.0

Query text data with the power of Regular Expression.

  Sources   Download

MIT

by dong