Possible solutions of your questions

  hosting
<< Previous       preg_match

Question: Good deluge the third hour fighting with preg_match... :(designers (in the Internet) everything works, nothing.Help to understand, whether I am dumb or something is not tacked the following([ 0-9]*) 88<\";preg_match($ptn, $str, $matches);print_r($matches);?>gives an empty array. settings PHP version 5.5, phpinfo() reports:PCRE (Perl Compatible Regular Expressions) Support enabledPCRE Library Version 8.37 2015-04-28Заранее thanks for the reply, where and where to dig
Answer:

Hello.

please Wait.

Answer:

Hello.

Provide a text fragment which should fall under this expression. It is in the original text?

Question: text to parse:Order ID: 88
Dateнужно to the value 88, which is between \" 88
\"the pattern to search for: \"/ID:<\\/b>([ 0-9]*)
Question: damn, how to add html code to correctly show?b>Order ID: 88
Question: tags somehow fly away
Answer:

No

Question: Order ID: 88надо to it a value of \"88\", but in the original text there are tags
Answer:

Give the file path regular expression.

Question: /public_html/crm/engine/ajax/greenpro.php
Answer:

please Wait.

Answer:

are You sure that error in a regular expression?

http://sw-shop.pp.ua/crm/engine/ajax/greenpro.php

Fatal error: Call to undefined function recursive_search() in /home/metallik/public_html/crm/engine/ajax/greenpro.php on line 24

Question: the script handles incoming mails with status \"UNSEEN\" and is called from the handler chain mail, which used to connect the desired functionality. To regular expressions all worked through, is that it is given an empty array, even though in the designer when you search in a string with this pattern preg_match finds...call the handler chain starts here: http://crm.alevadsky.pp.ua/check_mail.php messages with a status UNSEEN I put. Can run this processor - it gives the actual body of the email, and then after Preg: should print the resulting array...
Answer:

This function is triggered - < / span>recursive_search() ?

Question: Yes
Answer:

Validation code found no errors in the regular expression:

http://phptester.net

Question: hmm. made search in a separate file - работаетhttp://crm.alevadsky.pp.ua/preg_test.Trsteno...
Answer:

Add an entry to the file before performing the search and after, analyze the logs. Here is the file validation regular expression for a given text: http://sw-shop.pp.ua/crm/engine/ajax/testpreg.php

Look for the reason in the text which is processed by a regular expression.

Question: . thank you. I will dig further
Answer:


ok


<< Previous