#42283 [NEW]: problem in regular expressions
| From: | funpersian989moji at yahoo dot com | Date: | Mon, 13 Aug 2007 10:29:34 +0000 |
| Subject: | #42283 [NEW]: problem in regular expressions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-116011@lists.php.net to get a copy of this message | ||
From: funpersian989moji at yahoo dot com
Operating system: apache
PHP version: 4.4.7
PHP Bug Type: *Regular Expressions
Bug description: problem in regular expressions
Description:
------------
problem in regular expressions
Reproduce code:
---------------
hi
i can't best speak english
i am sorry
i a problem in regular expressions
help me
my html code is:
==========================================<
<hr><b>Really example1</b> : <i><a
href=http://www.example1.com/a4.htm>www.example1.com/a4.htm</a></i><hr>
<UL><LI><a href="http://www.example1.com/get.php?id=164702">Systems
example0</a>
1<LI><a href="http://www.example1.com/get.php?id=177691">Systems
example1</a>
2<LI><a href="http://www.example1.com/get.php?id=177702">Systems
example2</a>
3<LI><a href="http://www.example1.com/get.php?id=154547">Systems
example3</a>
4<LI><a href="http://www.example1.com/get.php?id=177692">Systems
example4</a>
5<LI><a href="http://www.example1.com/get.php?id=177699">Systems
example5</a>
6<LI><a href="http://www.example1.com/get.php?id=209311">Systems
example6</a>
7<LI><a href="http://www.example1.com/get.php?id=177703">Systems
example7</a>
8<LI><a href="http://www.example1.com/get.php?id=164102">Systems
example8</a>
10<LI><a href="http://www.example1.com/get.php?id=164703">Systems
example9</a>
<LI>. . . . .<br>
</UL><hr><b>Really example2</b> : <i><a
href=http://www.example2.com/l5.htm>www.example2.com/l5.htm</a></i><hr>
<UL>1<LI><a href="http://www.example2.com/get.php?id=114301">example2
example2</a>
2<LI><a href="http://www.example2.com/get.php?id=114304">Systems
example2</a>
3<LI><a href="http://www.example2.com/get.php?id=114302">Systems
example2</a>
</UL>
============================================>
my regular expressions code is:
=================================
<hr><b>([^<]*)</b>[^<]*<i><a\\s[^>]*href\\s*=\\s*([^\\s>]+)[^>]*>([^<]*)</a></i><hr>
====================================
i how regular expressions code display result of line from 1-10
plesae help me
me email
funpersian989moji@yahoo.com
very thanks
--
Edit bug report at http://bugs.php.net/?id=42283&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42283&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42283&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42283&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42283&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42283&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42283&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42283&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42283&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42283&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42283&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42283&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42283&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42283&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42283&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42283&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42283&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42283&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42283&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42283&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42283&r=mysqlcfg