ID:               32314
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ostap333 at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Regexps related
 Operating System: WindowsXP
 PHP Version:      5.0.3
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Even if you think it is not a bug, we often know better than you,
please consult the support channels first before even considering
to reopen this report.

Thank you for your interest in PHP.

.


Previous Comments:
------------------------------------------------------------------------

[2005-03-15 12:11:45] ostap333 at hotmail dot com

Description:
------------
Hi
I was parsing the FreeDB and fouund that lots of regular expression
combinations are not working as they would in perl.
Here is one example:




Reproduce code:
---------------
$word='µÚ 1 Òô¹ì';
if (preg_match('/^(\D+?) +?(\d{1,}) +?(\D+?)$/',$word,$match))
{
   print "$match[1]\n$match[2]\n$match[2]\n";
};
//If i remove the '^' and '$' - it works 
//But than expression is not exactly what i want coz it 
//begins to match other stuff in different strings.




Expected result:
----------------
µÚ
1
Òô¹ì


Actual result:
--------------
nono..nothing niks

given code works perfectly in perl


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32314&edit=1

Reply via email to